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.00786/0.00786, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001858/0.001858, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.468/1.468, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.311/0.311, allocations: 38 MB / 307.9 MB, free: 10.12 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.001608/0.001608, allocations: 75.84 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3019, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.02612/0.328, allocations: 28.55 MB / 0.5059 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.3511, allocations: 16.93 MB / 0.5224 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.352, allocations: 16.19 kB / 0.5224 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009202/0.3529, allocations: 259.1 kB / 0.5227 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01608/0.369, allocations: 4.54 MB / 0.5271 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005954/0.375, allocations: 1.879 MB / 0.5289 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3766, allocations: 0.9683 MB / 0.5299 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/0.3772, allocations: 285.4 kB / 0.5302 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.3783, allocations: 481.6 kB / 0.5306 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.383, allocations: 1.867 MB / 0.5324 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.3832, allocations: 36.19 kB / 0.5325 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/0.3991, allocations: 7.505 MB / 0.5398 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.3994, allocations: 115.5 kB / 0.5399 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.3999, allocations: 238.9 kB / 0.5401 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.4132, allocations: 4.657 MB / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4132, allocations: 0 / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4132, allocations: 0 / 0.5447 GB, free: 15.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4132, allocations: 0 / 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.003485/0.4167, allocations: 1.372 MB / 0.546 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4168, allocations: 11.89 kB / 0.546 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.4188, allocations: 248.4 kB / 0.5463 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.4195, allocations: 415.8 kB / 0.5467 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.4195, allocations: 24.66 kB / 0.5467 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.4196, allocations: 32 kB / 0.5467 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.4212, allocations: 0.604 MB / 0.5473 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4212, allocations: 0 / 0.5473 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.4213, allocations: 12 kB / 0.5473 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4213, allocations: 11.94 kB / 0.5473 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.4229, allocations: 0.5602 MB / 0.5479 GB, free: 11.69 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.003277/0.4262, allocations: 2.641 MB / 0.5505 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.4278, allocations: 466.1 kB / 0.5509 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.4282, allocations: 192.7 kB / 0.5511 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04857/0.4768, allocations: 24.3 MB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.4769, allocations: 38.55 kB / 0.5749 GB, free: 12.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.4769, allocations: 3.938 kB / 0.5749 GB, free: 12.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002985/0.4799, allocations: 0.8178 MB / 0.5757 GB, free: 12.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4799, allocations: 114.7 kB / 0.5758 GB, free: 11.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.4804, allocations: 381.6 kB / 0.5761 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.4805, allocations: 29.7 kB / 0.5762 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4806, allocations: 220.5 kB / 0.5764 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.4807, allocations: 87.22 kB / 0.5765 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.4809, allocations: 77.67 kB / 0.5765 GB, free: 11.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.481, allocations: 346.8 kB / 0.5769 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.4815, allocations: 176.5 kB / 0.577 GB, free: 10.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.482, allocations: 251.9 kB / 0.5773 GB, free: 10.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.4829, allocations: 401.9 kB / 0.5776 GB, free: 9.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.4829, allocations: 7.984 kB / 0.5777 GB, free: 9.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001187/0.4841, allocations: 486.3 kB / 0.5781 GB, free: 9.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4841, allocations: 4 kB / 0.5781 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4841, allocations: 4 kB / 0.5781 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.4842, allocations: 4 kB / 0.5781 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.4846, allocations: 104.2 kB / 0.5782 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/0.4847, allocations: 4 kB / 0.5782 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.4851, allocations: 59.62 kB / 0.5783 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.4852, allocations: 20 kB / 0.5783 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006073/0.4858, allocations: 275.9 kB / 0.5786 GB, free: 8.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005343/0.4864, allocations: 268.3 kB / 0.5788 GB, free: 8.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008973/0.4873, allocations: 394.2 kB / 0.5792 GB, free: 8.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.4873, allocations: 0 / 0.5792 GB, free: 8.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001241/0.4885, allocations: 477 kB / 0.5797 GB, free: 7.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4886, allocations: 8 kB / 0.5797 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4886, allocations: 0 / 0.5797 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.4886, allocations: 4 kB / 0.5797 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.489, allocations: 99.86 kB / 0.5798 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.489, allocations: 4.219 kB / 0.5798 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.4894, allocations: 51.78 kB / 0.5798 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.4895, allocations: 16 kB / 0.5798 GB, free: 7.551 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.0001967/0.4897, allocations: 204.1 kB / 0.58 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4898, allocations: 43.72 kB / 0.5801 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.4924, allocations: 1.968 MB / 0.582 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.4924, allocations: 27.95 kB / 0.582 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4924, allocations: 0 / 0.582 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4925, allocations: 3.984 kB / 0.582 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4935, allocations: 1.055 MB / 0.5831 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4935, allocations: 4 kB / 0.5831 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.4938, allocations: 83.86 kB / 0.5831 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4939, allocations: 4 kB / 0.5831 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.4939, allocations: 8 kB / 0.5832 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4939, allocations: 4 kB / 0.5832 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4939, allocations: 0 / 0.5832 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.4954, allocations: 1.138 MB / 0.5843 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.4957, allocations: 212.2 kB / 0.5845 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.4958, allocations: 31.78 kB / 0.5845 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4961, allocations: 23.97 kB / 0.5845 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.4962, allocations: 31.95 kB / 0.5846 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.4962, allocations: 15.98 kB / 0.5846 GB, free: 2.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000447/0.4967, allocations: 374.8 kB / 0.5849 GB, free: 2.234 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4967, allocations: 0 / 0.5849 GB, free: 2.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003262/0.5, allocations: 1.166 MB / 0.5861 GB, free: 1.066 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.005703/0.5057, allocations: 1.261 MB / 0.5873 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.5077, allocations: 0.8545 MB / 0.5881 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5077, allocations: 0 / 0.5881 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.5084, allocations: 0.5252 MB / 0.5886 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5097, allocations: 253.1 kB / 0.5889 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.5121, allocations: 1.612 MB / 0.5905 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.5127, allocations: 0.9833 MB / 0.5914 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008762/0.5136, allocations: 0.6038 MB / 0.592 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.5138, allocations: 55.42 kB / 0.5921 GB, free: 10.86 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5138, allocations: 4 kB / 0.5921 GB, free: 10.85 MB / 478.1 MB Notification: Performance of Templates: time 0.05674/0.5705, allocations: 41.46 MB / 0.6326 GB, free: 1.348 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)