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.0009724/0.0009724, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001074/0.001074, allocations: 194.1 kB / 16.25 MB, free: 6.625 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.196/1.196, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05038/0.05038, allocations: 11.83 MB / 281.3 MB, free: 9.613 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.001313/0.001313, allocations: 67.91 kB / 341.4 MB, free: 22.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0668/0.06812, allocations: 49.22 MB / 390.6 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.005649/0.0738, allocations: 5.515 MB / 396.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.07694, allocations: 2.284 MB / 398.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.07722, allocations: 11.94 kB / 398.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.07766, allocations: 135.3 kB / 398.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.07826, allocations: 314.1 kB / 398.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.0791, allocations: 427.3 kB / 399.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.07994, allocations: 1.019 MB / 400.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.08031, allocations: 291.8 kB / 400.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.08067, allocations: 366.6 kB / 401 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.08107, allocations: 414.3 kB / 401.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.08116, allocations: 68 kB / 401.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.08156, allocations: 271.8 kB / 401.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.08171, allocations: 179.4 kB / 401.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.08202, allocations: 410 kB / 402.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.08292, allocations: 1.048 MB / 403.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.08293, allocations: 0 / 403.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08294, allocations: 0 / 403.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.08295, allocations: 0 / 403.3 MB, free: 8.211 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.001452/0.08442, allocations: 1.044 MB / 404.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.08446, allocations: 11.89 kB / 404.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.596e-05/0.08456, allocations: 94.7 kB / 404.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.08474, allocations: 84 kB / 404.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.08531, allocations: 0.505 MB / 405.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.08536, allocations: 49.31 kB / 405.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.08544, allocations: 56 kB / 405.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/0.08633, allocations: 0.5492 MB / 405.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.08636, allocations: 11.89 kB / 405.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.08641, allocations: 24 kB / 405.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.08643, allocations: 12 kB / 405.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.08728, allocations: 0.5166 MB / 406.3 MB, free: 5.156 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.003124/0.09041, allocations: 2.839 MB / 409.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.09112, allocations: 446.8 kB / 409.6 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.09143, allocations: 204.7 kB / 409.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.09154, allocations: 93.09 kB / 409.9 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.09158, allocations: 42.5 kB / 409.9 MB, free: 1.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.744e-06/0.09159, allocations: 0 / 409.9 MB, free: 1.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002376/0.09397, allocations: 1.238 MB / 411.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.09401, allocations: 55.41 kB / 411.2 MB, free: 15.84 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.0007083/0.09473, allocations: 0.6485 MB / 411.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.09477, allocations: 33.7 kB / 411.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.09498, allocations: 324 kB / 412.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.09509, allocations: 149.9 kB / 412.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.09522, allocations: 94.14 kB / 412.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.09536, allocations: 374.8 kB / 412.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.09564, allocations: 153 kB / 412.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.09599, allocations: 256.1 kB / 413.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.09897, allocations: 0.9488 MB / 414.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.09899, allocations: 7.938 kB / 414.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008742/0.09987, allocations: 0.5271 MB / 414.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.09989, allocations: 8 kB / 414.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.09991, allocations: 4.328 kB / 414.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.09993, allocations: 12 kB / 414.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.1004, allocations: 115.8 kB / 414.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1004, allocations: 7.984 kB / 414.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.1008, allocations: 23.98 kB / 414.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.1008, allocations: 23.98 kB / 414.9 MB, free: 12.05 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.0004117/0.1012, allocations: 269.4 kB / 415.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.1013, allocations: 67.16 kB / 415.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.1024, allocations: 0.5377 MB / 415.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1024, allocations: 4 kB / 415.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1024, allocations: 0 / 415.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1024, allocations: 4 kB / 415.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1041, allocations: 1.221 MB / 417 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1041, allocations: 0 / 417 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.1046, allocations: 103.9 kB / 417.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1046, allocations: 4 kB / 417.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.1046, allocations: 15.98 kB / 417.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1046, allocations: 4 kB / 417.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1046, allocations: 8 kB / 417.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1057, allocations: 0.7711 MB / 417.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.106, allocations: 192.2 kB / 418 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.1061, allocations: 15.94 kB / 418.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1063, allocations: 19.98 kB / 418.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.1064, allocations: 32.39 kB / 418.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.1064, allocations: 19.98 kB / 418.1 MB, free: 8.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004744/0.1069, allocations: 471 kB / 418.6 MB, free: 8.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1069, allocations: 0 / 418.6 MB, free: 8.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.1075, allocations: 176 kB / 418.8 MB, free: 8.039 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.002102/0.1096, allocations: 1.637 MB / 420.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.1104, allocations: 450.5 kB / 420.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1105, allocations: 0 / 420.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1108, allocations: 214.4 kB / 421.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.1116, allocations: 212 kB / 421.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1216/0.2333, allocations: 6.152 MB / 427.4 MB, free: 40.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2336, allocations: 0.9353 MB / 428.3 MB, free: 40.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.2341, allocations: 117.2 kB / 428.5 MB, free: 40.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.2344, allocations: 251.4 kB / 428.7 MB, free: 40.04 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2344, allocations: 0 / 428.7 MB, free: 40.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.2633, allocations: 16.57 MB / 445.3 MB, free: 34.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.2635, allocations: 237.1 kB / 445.5 MB, free: 34.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.175, allocations: 0 / 445.5 MB, free: 34.04 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)