Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.004862/0.004862, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001097/0.001097, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1903/0.1903, allocations: 39.97 MB / 309.9 MB, free: 4.016 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.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.001428/0.001428, allocations: 69.62 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1115, allocations: 56.88 MB / 492.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02974/0.1413, allocations: 28.14 MB / 0.5086 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2505/0.3919, allocations: 13.29 MB / 0.5216 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.3923, allocations: 8.688 kB / 0.5216 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.393, allocations: 250 kB / 0.5218 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.4033, allocations: 3.658 MB / 0.5254 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006094/0.4094, allocations: 2.361 MB / 0.5277 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.4106, allocations: 0.8963 MB / 0.5286 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.411, allocations: 253.1 kB / 0.5288 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.4117, allocations: 442.6 kB / 0.5292 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.412, allocations: 273.6 kB / 0.5295 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.412, allocations: 33.75 kB / 0.5295 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/0.427, allocations: 7.227 MB / 0.5366 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.4272, allocations: 102.9 kB / 0.5367 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.4276, allocations: 217.4 kB / 0.5369 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.4407, allocations: 4.411 MB / 0.5412 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4407, allocations: 1.344 kB / 0.5412 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4407, allocations: 0 / 0.5412 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4407, allocations: 3.938 kB / 0.5412 GB, free: 164 kB / 398.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.003707/0.4444, allocations: 1.242 MB / 0.5424 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4445, allocations: 13.48 kB / 0.5424 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.4461, allocations: 212.2 kB / 0.5426 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.4467, allocations: 375.6 kB / 0.543 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.4467, allocations: 30.72 kB / 0.543 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.4468, allocations: 26.44 kB / 0.543 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4484, allocations: 0.5957 MB / 0.5436 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4484, allocations: 1.344 kB / 0.5436 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.4485, allocations: 16.22 kB / 0.5436 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4485, allocations: 7 kB / 0.5436 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.4503, allocations: 0.5425 MB / 0.5442 GB, free: 14.15 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.002939/0.4532, allocations: 2.63 MB / 0.5467 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.4548, allocations: 467.1 kB / 0.5472 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.4553, allocations: 202 kB / 0.5474 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05291/0.5082, allocations: 24.3 MB / 0.5711 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.5083, allocations: 38.56 kB / 0.5712 GB, free: 3.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.534e-06/0.5083, allocations: 0 / 0.5712 GB, free: 3.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003123/0.5114, allocations: 0.8173 MB / 0.572 GB, free: 2.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.5115, allocations: 110.8 kB / 0.5721 GB, free: 2.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.5119, allocations: 312.5 kB / 0.5724 GB, free: 2.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.5119, allocations: 29.7 kB / 0.5724 GB, free: 2.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5121, allocations: 207 kB / 0.5726 GB, free: 1.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/0.5122, allocations: 82.84 kB / 0.5727 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5123, allocations: 73.59 kB / 0.5727 GB, free: 1.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5124, allocations: 346.7 kB / 0.5731 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.5129, allocations: 143.9 kB / 0.5732 GB, free: 1.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.5134, allocations: 245.1 kB / 0.5734 GB, free: 1.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.5143, allocations: 375.4 kB / 0.5738 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5143, allocations: 0 / 0.5738 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0011/0.5154, allocations: 452.9 kB / 0.5742 GB, free: 196 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5155, allocations: 4 kB / 0.5742 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5155, allocations: 4 kB / 0.5742 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5155, allocations: 4 kB / 0.5742 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.5159, allocations: 91.81 kB / 0.5743 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5159, allocations: 7.938 kB / 0.5743 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.5162, allocations: 45.69 kB / 0.5744 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.5163, allocations: 23.98 kB / 0.5744 GB, free: 16 kB / 430.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.0002059/0.5165, allocations: 164.4 kB / 0.5746 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5166, allocations: 39.61 kB / 0.5746 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.5191, allocations: 1.906 MB / 0.5764 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.5192, allocations: 31.89 kB / 0.5765 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5192, allocations: 0 / 0.5765 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.5192, allocations: 7.984 kB / 0.5765 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.5202, allocations: 1.018 MB / 0.5775 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5202, allocations: 4 kB / 0.5775 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.5206, allocations: 79.86 kB / 0.5776 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5206, allocations: 0 / 0.5776 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.5206, allocations: 8 kB / 0.5776 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5206, allocations: 5.188 kB / 0.5776 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5206, allocations: 3.938 kB / 0.5776 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.5222, allocations: 1.096 MB / 0.5786 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.5224, allocations: 167.8 kB / 0.5788 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.5225, allocations: 19.75 kB / 0.5788 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.5228, allocations: 35.84 kB / 0.5789 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5229, allocations: 35.95 kB / 0.5789 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.5229, allocations: 11.98 kB / 0.5789 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.5233, allocations: 323.1 kB / 0.5792 GB, free: 10.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5233, allocations: 0 / 0.5792 GB, free: 10.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004174/0.5275, allocations: 0.9916 MB / 0.5802 GB, free: 10 MB / 446.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.006661/0.5341, allocations: 1.175 MB / 0.5813 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.5355, allocations: 0.6106 MB / 0.5819 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5355, allocations: 0 / 0.5819 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007649/0.5363, allocations: 0.5177 MB / 0.5824 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.5376, allocations: 221 kB / 0.5826 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.5404, allocations: 1.51 MB / 0.5841 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.541, allocations: 0.9599 MB / 0.5851 GB, free: 5.055 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.5416, allocations: 278.8 kB / 0.5853 GB, free: 4.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5418, allocations: 47.42 kB / 0.5854 GB, free: 4.738 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5418, allocations: 0 / 0.5854 GB, free: 4.738 MB / 446.1 MB Notification: Performance of Templates: time 0.05617/0.5979, allocations: 39.57 MB / 0.624 GB, free: 13.18 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)