Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006617/0.006617, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001205/0.001205, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3053/0.3053, allocations: 38 MB / 307.9 MB, free: 10.1 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.001524/0.001525, allocations: 75.83 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3076, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02767/0.3353, allocations: 28.14 MB / 0.5055 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.3521, allocations: 13.3 MB / 0.5185 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.3526, allocations: 9.719 kB / 0.5185 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008631/0.3535, allocations: 252.1 kB / 0.5187 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.3651, allocations: 3.662 MB / 0.5223 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008089/0.3732, allocations: 2.378 MB / 0.5246 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.3748, allocations: 0.897 MB / 0.5255 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.3752, allocations: 253.3 kB / 0.5257 GB, free: 0 / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/0.3761, allocations: 441.1 kB / 0.5261 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.3764, allocations: 270 kB / 0.5264 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.3765, allocations: 34.09 kB / 0.5264 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/0.3927, allocations: 7.225 MB / 0.5335 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.393, allocations: 99.66 kB / 0.5336 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.3935, allocations: 227 kB / 0.5338 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.4075, allocations: 4.401 MB / 0.5381 GB, free: 5.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.4075, allocations: 4 kB / 0.5381 GB, free: 5.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4075, allocations: 0 / 0.5381 GB, free: 5.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.4076, allocations: 0 / 0.5381 GB, free: 5.852 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004984/0.4126, allocations: 1.24 MB / 0.5393 GB, free: 4.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4126, allocations: 11.89 kB / 0.5393 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.4146, allocations: 220.2 kB / 0.5395 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.4157, allocations: 379.2 kB / 0.5399 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.4157, allocations: 29.03 kB / 0.5399 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.4158, allocations: 24.38 kB / 0.54 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.4175, allocations: 0.5978 MB / 0.5405 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4176, allocations: 0 / 0.5405 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.4176, allocations: 12 kB / 0.5405 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.4176, allocations: 8 kB / 0.5406 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.4194, allocations: 0.5484 MB / 0.5411 GB, free: 2.664 MB / 414.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.003504/0.4229, allocations: 2.617 MB / 0.5436 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.4246, allocations: 478 kB / 0.5441 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.4251, allocations: 196.7 kB / 0.5443 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04758/0.4726, allocations: 24.29 MB / 0.568 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4727, allocations: 38.56 kB / 0.568 GB, free: 3.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/0.4727, allocations: 3.938 kB / 0.568 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003026/0.4758, allocations: 0.8219 MB / 0.5689 GB, free: 3.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.4759, allocations: 106.8 kB / 0.569 GB, free: 2.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.4762, allocations: 324.3 kB / 0.5693 GB, free: 2.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.4763, allocations: 29.7 kB / 0.5693 GB, free: 2.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4764, allocations: 200.3 kB / 0.5695 GB, free: 2.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.4765, allocations: 82.84 kB / 0.5696 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.4766, allocations: 73.59 kB / 0.5696 GB, free: 2.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4768, allocations: 342.8 kB / 0.57 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.4772, allocations: 147.9 kB / 0.5701 GB, free: 1.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.4776, allocations: 246.9 kB / 0.5703 GB, free: 1.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.4785, allocations: 375.1 kB / 0.5707 GB, free: 1.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4785, allocations: 4 kB / 0.5707 GB, free: 1.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001079/0.4796, allocations: 449 kB / 0.5711 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4796, allocations: 4 kB / 0.5711 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4796, allocations: 4 kB / 0.5711 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4797, allocations: 7.938 kB / 0.5711 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.48, allocations: 87.81 kB / 0.5712 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.4801, allocations: 11.97 kB / 0.5712 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.4803, allocations: 47.66 kB / 0.5713 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.4804, allocations: 20.06 kB / 0.5713 GB, free: 448 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001904/0.4806, allocations: 165.6 kB / 0.5715 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.4807, allocations: 35.62 kB / 0.5715 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.4832, allocations: 1.905 MB / 0.5734 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.4832, allocations: 35.88 kB / 0.5734 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4833, allocations: 0 / 0.5734 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4833, allocations: 4 kB / 0.5734 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4843, allocations: 1.008 MB / 0.5744 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4843, allocations: 4 kB / 0.5744 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.4847, allocations: 79.91 kB / 0.5745 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4847, allocations: 3.938 kB / 0.5745 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.4847, allocations: 8 kB / 0.5745 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4847, allocations: 7.875 kB / 0.5745 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4847, allocations: 0 / 0.5745 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.4863, allocations: 1.1 MB / 0.5755 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4864, allocations: 167.9 kB / 0.5757 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.4865, allocations: 23.69 kB / 0.5757 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.4868, allocations: 39.89 kB / 0.5758 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4869, allocations: 31.95 kB / 0.5758 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.487, allocations: 12 kB / 0.5758 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003662/0.4874, allocations: 323.1 kB / 0.5761 GB, free: 11.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4874, allocations: 0 / 0.5761 GB, free: 11.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002755/0.4901, allocations: 0.9916 MB / 0.5771 GB, free: 10.39 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 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.004571/0.4947, allocations: 1.173 MB / 0.5782 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.496, allocations: 0.6068 MB / 0.5788 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.496, allocations: 0 / 0.5788 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.4968, allocations: 0.5217 MB / 0.5793 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.4979, allocations: 220.5 kB / 0.5795 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.5001, allocations: 1.508 MB / 0.581 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.5006, allocations: 0.9677 MB / 0.582 GB, free: 5.344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004642/0.5011, allocations: 280.2 kB / 0.5822 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.5012, allocations: 47.42 kB / 0.5823 GB, free: 5.023 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5012, allocations: 0 / 0.5823 GB, free: 5.023 MB / 462.1 MB Notification: Performance of Templates: time 0.06052/0.5617, allocations: 39.55 MB / 0.6209 GB, free: 13.43 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)