Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006238/0.006238, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001339/0.00134, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.457/1.457, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3193/0.3193, allocations: 37.99 MB / 307.9 MB, free: 10.21 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. 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.001477/0.001477, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3774, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03048/0.408, allocations: 28.54 MB / 0.5059 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02387/0.4319, allocations: 16.94 MB / 0.5224 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007068/0.4326, allocations: 11.66 kB / 0.5224 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.4336, allocations: 263.6 kB / 0.5227 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.4503, allocations: 4.545 MB / 0.5271 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005746/0.456, allocations: 1.866 MB / 0.5289 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.4576, allocations: 0.9683 MB / 0.5299 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.4581, allocations: 290.8 kB / 0.5301 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.4594, allocations: 484.8 kB / 0.5306 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.4643, allocations: 1.867 MB / 0.5324 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.4645, allocations: 36.75 kB / 0.5325 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/0.4799, allocations: 7.503 MB / 0.5398 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.4801, allocations: 111.6 kB / 0.5399 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.4806, allocations: 246.9 kB / 0.5401 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.4919, allocations: 4.635 MB / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4919, allocations: 0 / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.492, allocations: 0 / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.492, allocations: 3.938 kB / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003594/0.4956, allocations: 1.329 MB / 0.546 GB, free: 13.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4956, allocations: 11.89 kB / 0.546 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.4976, allocations: 244.1 kB / 0.5462 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.4983, allocations: 411.5 kB / 0.5466 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.4984, allocations: 28.59 kB / 0.5466 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.4985, allocations: 32 kB / 0.5467 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.5001, allocations: 0.6157 MB / 0.5473 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5001, allocations: 0 / 0.5473 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.5002, allocations: 12 kB / 0.5473 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5002, allocations: 12 kB / 0.5473 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.5019, allocations: 0.5602 MB / 0.5478 GB, free: 11.73 MB / 430.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.003433/0.5053, allocations: 2.629 MB / 0.5504 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.5069, allocations: 458.1 kB / 0.5508 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.5074, allocations: 200.7 kB / 0.551 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05256/0.56, allocations: 24.3 MB / 0.5748 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.5601, allocations: 50.47 kB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.5601, allocations: 0 / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.003029/0.5631, allocations: 0.8137 MB / 0.5756 GB, free: 12.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.5632, allocations: 106.8 kB / 0.5757 GB, free: 12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.5637, allocations: 381.5 kB / 0.5761 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.5637, allocations: 37.7 kB / 0.5761 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.5639, allocations: 216.1 kB / 0.5763 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.564, allocations: 82.77 kB / 0.5764 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.5641, allocations: 81.61 kB / 0.5765 GB, free: 11.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5642, allocations: 346.8 kB / 0.5768 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.5647, allocations: 168.5 kB / 0.577 GB, free: 10.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.5652, allocations: 263.8 kB / 0.5772 GB, free: 10.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008778/0.5661, allocations: 394 kB / 0.5776 GB, free: 9.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5661, allocations: 0 / 0.5776 GB, free: 9.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001161/0.5673, allocations: 486.2 kB / 0.578 GB, free: 9.465 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5673, allocations: 4 kB / 0.5781 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5674, allocations: 4 kB / 0.5781 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.5674, allocations: 4 kB / 0.5781 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.5678, allocations: 104 kB / 0.5782 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5679, allocations: 8 kB / 0.5782 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.5682, allocations: 63.48 kB / 0.5782 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.5683, allocations: 16 kB / 0.5782 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005755/0.5689, allocations: 276 kB / 0.5785 GB, free: 8.992 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005016/0.5694, allocations: 256.3 kB / 0.5787 GB, free: 8.699 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008761/0.5703, allocations: 394.2 kB / 0.5791 GB, free: 8.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.5703, allocations: 8 kB / 0.5791 GB, free: 8.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001107/0.5714, allocations: 476.8 kB / 0.5796 GB, free: 7.797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5714, allocations: 8 kB / 0.5796 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5715, allocations: 4 kB / 0.5796 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.5715, allocations: 4 kB / 0.5796 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.5719, allocations: 95.86 kB / 0.5797 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.5719, allocations: 7.938 kB / 0.5797 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.5722, allocations: 48.02 kB / 0.5797 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.5723, allocations: 16 kB / 0.5798 GB, free: 7.617 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001914/0.5725, allocations: 204.1 kB / 0.58 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5726, allocations: 39.53 kB / 0.58 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.5753, allocations: 1.956 MB / 0.5819 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.5753, allocations: 27.95 kB / 0.5819 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5753, allocations: 3.938 kB / 0.5819 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5753, allocations: 3.984 kB / 0.5819 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.5765, allocations: 1.063 MB / 0.583 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5765, allocations: 0 / 0.583 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.5769, allocations: 75.92 kB / 0.583 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5769, allocations: 4 kB / 0.5831 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.5769, allocations: 8 kB / 0.5831 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.5769, allocations: 7.938 kB / 0.5831 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5769, allocations: 3.938 kB / 0.5831 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.5785, allocations: 1.13 MB / 0.5842 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.5787, allocations: 207.6 kB / 0.5844 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.5788, allocations: 23.75 kB / 0.5844 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.5791, allocations: 27.97 kB / 0.5844 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5792, allocations: 31.95 kB / 0.5845 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.5792, allocations: 15.98 kB / 0.5845 GB, free: 2.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.5797, allocations: 370.8 kB / 0.5848 GB, free: 2.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5797, allocations: 8 kB / 0.5848 GB, free: 2.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003583/0.5833, allocations: 1.148 MB / 0.586 GB, free: 1.172 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.004683/0.588, allocations: 1.252 MB / 0.5872 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.59, allocations: 0.8584 MB / 0.588 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.59, allocations: 0 / 0.588 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006767/0.5907, allocations: 0.5251 MB / 0.5885 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.592, allocations: 247.5 kB / 0.5888 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.5942, allocations: 1.591 MB / 0.5903 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.5947, allocations: 0.9794 MB / 0.5913 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008157/0.5955, allocations: 0.6115 MB / 0.5919 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5957, allocations: 47.42 kB / 0.5919 GB, free: 11 MB / 478.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5957, allocations: 0 / 0.5919 GB, free: 11 MB / 478.1 MB Notification: Performance of Templates: time 0.05613/0.6518, allocations: 41.47 MB / 0.6324 GB, free: 1.484 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)