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.0009122/0.0009123, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3664/0.3664, allocations: 38.03 MB / 308.4 MB, free: 10.47 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.0005739/0.0005743, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1321, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2514/0.3835, allocations: 23.79 MB / 457.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3952, allocations: 11.37 MB / 469.1 MB, free: 33.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.3957, allocations: 14.31 kB / 469.1 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.3964, allocations: 208.8 kB / 469.3 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009181/0.4056, allocations: 2.816 MB / 472.1 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006902/0.4125, allocations: 1.908 MB / 474 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.4137, allocations: 0.5377 MB / 474.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.414, allocations: 205.2 kB / 474.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007787/0.4148, allocations: 405.3 kB / 475.2 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.4151, allocations: 196.5 kB / 475.4 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.4151, allocations: 16.41 kB / 475.4 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/0.4298, allocations: 7.012 MB / 482.4 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.43, allocations: 84.33 kB / 482.5 MB, free: 31.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.4303, allocations: 109.9 kB / 482.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.4375, allocations: 2.943 MB / 485.5 MB, free: 31.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4375, allocations: 0 / 485.5 MB, free: 31.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.4375, allocations: 0 / 485.5 MB, free: 31.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4375, allocations: 3.938 kB / 485.5 MB, free: 31.35 MB / 382.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.003871/0.4414, allocations: 1.179 MB / 486.7 MB, free: 30.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4414, allocations: 9.875 kB / 486.7 MB, free: 30.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.4431, allocations: 217.9 kB / 486.9 MB, free: 30.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.4437, allocations: 354.8 kB / 487.3 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.4437, allocations: 25.47 kB / 487.3 MB, free: 30.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.4437, allocations: 27.41 kB / 487.3 MB, free: 30.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4453, allocations: 0.6179 MB / 487.9 MB, free: 30 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4454, allocations: 0 / 487.9 MB, free: 30 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.4454, allocations: 21.69 kB / 488 MB, free: 29.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4454, allocations: 6.562 kB / 488 MB, free: 29.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.4471, allocations: 0.5911 MB / 488.6 MB, free: 29.85 MB / 382.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.003036/0.4502, allocations: 2.641 MB / 491.2 MB, free: 27.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.4518, allocations: 0.5022 MB / 491.7 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04949/0.5013, allocations: 24.42 MB / 0.504 GB, free: 26.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.5014, allocations: 37.62 kB / 0.5041 GB, free: 26.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.5014, allocations: 0 / 0.5041 GB, free: 26.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.00323/0.5046, allocations: 0.8902 MB / 0.5049 GB, free: 26.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.5047, allocations: 106.1 kB / 0.505 GB, free: 26.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.5052, allocations: 308.8 kB / 0.5053 GB, free: 26.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.5052, allocations: 30.8 kB / 0.5054 GB, free: 26.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.5054, allocations: 199.4 kB / 0.5055 GB, free: 25.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.5055, allocations: 92.3 kB / 0.5056 GB, free: 25.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.5055, allocations: 5.25 kB / 0.5056 GB, free: 25.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5057, allocations: 342.2 kB / 0.506 GB, free: 25.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.5061, allocations: 164.2 kB / 0.5061 GB, free: 25.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.5066, allocations: 262.6 kB / 0.5064 GB, free: 25.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.5071, allocations: 182.1 kB / 0.5065 GB, free: 25.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5071, allocations: 1.219 kB / 0.5065 GB, free: 25.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001107/0.5082, allocations: 486 kB / 0.507 GB, free: 24.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.5083, allocations: 9.141 kB / 0.507 GB, free: 24.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5083, allocations: 1.969 kB / 0.507 GB, free: 24.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.5083, allocations: 5.219 kB / 0.507 GB, free: 24.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.5087, allocations: 97.61 kB / 0.5071 GB, free: 24.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.5087, allocations: 11.88 kB / 0.5071 GB, free: 24.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.5092, allocations: 67.03 kB / 0.5072 GB, free: 24.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.5092, allocations: 23.08 kB / 0.5072 GB, free: 24.9 MB / 398.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 (SourceP1.medium.phase,SinkP1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.5095, allocations: 158.1 kB / 0.5074 GB, free: 24.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.5096, allocations: 41.05 kB / 0.5074 GB, free: 24.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.5123, allocations: 1.966 MB / 0.5093 GB, free: 23.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.5123, allocations: 31.89 kB / 0.5094 GB, free: 23.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5123, allocations: 0 / 0.5094 GB, free: 23.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5123, allocations: 5.359 kB / 0.5094 GB, free: 23.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.5135, allocations: 1.011 MB / 0.5103 GB, free: 22.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5135, allocations: 0 / 0.5103 GB, free: 22.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.5138, allocations: 98.36 kB / 0.5104 GB, free: 22.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5138, allocations: 0 / 0.5104 GB, free: 22.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5139, allocations: 6.719 kB / 0.5104 GB, free: 22.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5139, allocations: 6.578 kB / 0.5105 GB, free: 22.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5139, allocations: 0 / 0.5105 GB, free: 22.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.5154, allocations: 1.131 MB / 0.5116 GB, free: 22.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.5157, allocations: 213.5 kB / 0.5118 GB, free: 21.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.5157, allocations: 6.719 kB / 0.5118 GB, free: 21.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.5161, allocations: 54.08 kB / 0.5118 GB, free: 21.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.5162, allocations: 42.2 kB / 0.5119 GB, free: 21.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.5162, allocations: 11.69 kB / 0.5119 GB, free: 21.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.5166, allocations: 324 kB / 0.5122 GB, free: 21.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.5166, allocations: 1.5 kB / 0.5122 GB, free: 21.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003642/0.5202, allocations: 0.9935 MB / 0.5132 GB, free: 21.55 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004451/0.5247, allocations: 1.175 MB / 0.5143 GB, free: 21.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.526, allocations: 0.6413 MB / 0.5149 GB, free: 20.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.526, allocations: 0 / 0.5149 GB, free: 20.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006564/0.5266, allocations: 0.5377 MB / 0.5154 GB, free: 20.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5278, allocations: 199.2 kB / 0.5156 GB, free: 20.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.5298, allocations: 1.879 MB / 0.5175 GB, free: 19.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.5304, allocations: 0.9828 MB / 0.5184 GB, free: 18.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006046/0.5311, allocations: 275.4 kB / 0.5187 GB, free: 18.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5312, allocations: 44.39 kB / 0.5187 GB, free: 18.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.484e-06/0.5312, allocations: 0 / 0.5187 GB, free: 18.25 MB / 398.1 MB Notification: Performance of Templates: time 0.05334/0.5846, allocations: 39.19 MB / 0.557 GB, free: 11.39 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: