Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008021/0.0008022, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004634/0.004634, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04815/0.04815, allocations: 11.84 MB / 282.6 MB, free: 9.371 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005099, allocations: 19.03 kB / 343.6 MB, free: 22.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06672/0.06724, allocations: 50.21 MB / 393.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.004633/0.07191, allocations: 5.107 MB / 399 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.07516, allocations: 2.28 MB / 401.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004138/0.0756, allocations: 15.94 kB / 401.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.07599, allocations: 139.2 kB / 401.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005893/0.07659, allocations: 322.1 kB / 401.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.07737, allocations: 381.5 kB / 402.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.07818, allocations: 1.019 MB / 403.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.07851, allocations: 266.9 kB / 403.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.07882, allocations: 302.6 kB / 403.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.0792, allocations: 378.2 kB / 404 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.07927, allocations: 28 kB / 404 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.07962, allocations: 227.8 kB / 404.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.07976, allocations: 147.3 kB / 404.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.08005, allocations: 395.7 kB / 404.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007864/0.08084, allocations: 0.985 MB / 405.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.08086, allocations: 0 / 405.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08087, allocations: 3.938 kB / 405.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.08088, allocations: 0 / 405.8 MB, free: 7.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001229/0.08211, allocations: 0.9076 MB / 406.7 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.08215, allocations: 8.031 kB / 406.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.85e-05/0.08226, allocations: 102.7 kB / 406.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.08242, allocations: 84 kB / 406.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.08298, allocations: 0.4934 MB / 407.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.08304, allocations: 49.31 kB / 407.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.08312, allocations: 59.84 kB / 407.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008483/0.08397, allocations: 0.557 MB / 408 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.084, allocations: 0 / 408 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.08405, allocations: 20 kB / 408.1 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.08407, allocations: 16 kB / 408.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008399/0.08491, allocations: 0.5283 MB / 408.6 MB, free: 4.824 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.08771, allocations: 2.846 MB / 411.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.08836, allocations: 454.8 kB / 411.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.08867, allocations: 192.8 kB / 412.1 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/0.08876, allocations: 97.08 kB / 412.2 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.08879, allocations: 42.56 kB / 412.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/0.0888, allocations: 0 / 412.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002153/0.09096, allocations: 1.253 MB / 413.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.091, allocations: 55.41 kB / 413.5 MB, free: 15.5 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.09166, allocations: 0.6524 MB / 414.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.0917, allocations: 29.7 kB / 414.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.09189, allocations: 327.9 kB / 414.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.09199, allocations: 149.8 kB / 414.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.09206, allocations: 45.69 kB / 414.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.09218, allocations: 374.8 kB / 415.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.09246, allocations: 157 kB / 415.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.0928, allocations: 256.2 kB / 415.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.09575, allocations: 0.9723 MB / 416.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.09577, allocations: 3.938 kB / 416.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008279/0.0966, allocations: 0.5387 MB / 417 MB, free: 11.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.09663, allocations: 4 kB / 417 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.09664, allocations: 4 kB / 417 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.09666, allocations: 4 kB / 417 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.09711, allocations: 128.1 kB / 417.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.09713, allocations: 8 kB / 417.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.0974, allocations: 23.98 kB / 417.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.09744, allocations: 23.98 kB / 417.2 MB, free: 11.71 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = j1.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.09776, allocations: 269.4 kB / 417.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.09785, allocations: 63.25 kB / 417.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000936/0.09879, allocations: 0.5299 MB / 418 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.09881, allocations: 8 kB / 418.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.09882, allocations: 0 / 418.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.09883, allocations: 7.969 kB / 418.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.1004, allocations: 1.217 MB / 419.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1004, allocations: 3.984 kB / 419.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.1009, allocations: 111.8 kB / 419.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1009, allocations: 0 / 419.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1009, allocations: 23.92 kB / 419.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1009, allocations: 4 kB / 419.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1009, allocations: 0 / 419.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.102, allocations: 0.7751 MB / 420.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.1022, allocations: 196.2 kB / 420.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.1023, allocations: 12 kB / 420.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1026, allocations: 27.98 kB / 420.4 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.1027, allocations: 40.33 kB / 420.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.1027, allocations: 8 kB / 420.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004709/0.1032, allocations: 471 kB / 420.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1032, allocations: 4 kB / 420.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.1037, allocations: 183.9 kB / 421.1 MB, free: 7.684 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/0.1057, allocations: 1.628 MB / 422.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.1064, allocations: 419.1 kB / 423.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1064, allocations: 0 / 423.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.1068, allocations: 218.3 kB / 423.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.1076, allocations: 214.6 kB / 423.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/0.2431, allocations: 6.255 MB / 429.8 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2435, allocations: 0.9326 MB / 430.8 MB, free: 34.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.2439, allocations: 117.9 kB / 430.9 MB, free: 34.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.2443, allocations: 253.3 kB / 431.1 MB, free: 34.91 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2443, allocations: 3.844 kB / 431.1 MB, free: 34.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.2687, allocations: 15.93 MB / 447.1 MB, free: 29.84 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.2689, allocations: 236.7 kB / 447.3 MB, free: 29.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.12, allocations: 0.7656 kB / 447.3 MB, free: 29.59 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest2.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)