Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009381/0.009381, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.743/1.743, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4523/0.4523, allocations: 55.01 MB / 325.8 MB, free: 0.5938 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: Annex60 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.0005328/0.0005329, allocations: 12 kB / 397.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3998, allocations: 60.72 MB / 458 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01675/0.4166, allocations: 16.81 MB / 474.8 MB, free: 29.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.4278, allocations: 7.071 MB / 481.9 MB, free: 25.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008625/0.4287, allocations: 9.344 kB / 481.9 MB, free: 25.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.4299, allocations: 247.6 kB / 482.1 MB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.4318, allocations: 0.5122 MB / 482.6 MB, free: 24.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.4338, allocations: 0.5809 MB / 483.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.4356, allocations: 1.431 MB / 484.6 MB, free: 23.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/0.4363, allocations: 296.4 kB / 484.9 MB, free: 23.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009984/0.4373, allocations: 419.9 kB / 485.3 MB, free: 23.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.4381, allocations: 354.1 kB / 485.7 MB, free: 23.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.4382, allocations: 23.31 kB / 485.7 MB, free: 23.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.4397, allocations: 0.5887 MB / 486.3 MB, free: 23.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.44, allocations: 140.4 kB / 486.4 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005863/0.4406, allocations: 282.3 kB / 486.7 MB, free: 23.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.4427, allocations: 0.8685 MB / 487.6 MB, free: 22.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.4428, allocations: 0 / 487.6 MB, free: 22.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4428, allocations: 2.219 kB / 487.6 MB, free: 22.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.676e-05/0.4428, allocations: 0 / 487.6 MB, free: 22.89 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002548/0.4454, allocations: 0.8075 MB / 488.4 MB, free: 22.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/0.4455, allocations: 8.125 kB / 488.4 MB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.4462, allocations: 73.16 kB / 488.5 MB, free: 22.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.4477, allocations: 466.7 kB / 488.9 MB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.4478, allocations: 32.41 kB / 489 MB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.448, allocations: 34.44 kB / 489 MB, free: 21.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.4498, allocations: 493.3 kB / 489.5 MB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.4499, allocations: 2.625 kB / 489.5 MB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.45, allocations: 14.66 kB / 489.5 MB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.45, allocations: 16.69 kB / 489.5 MB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.4515, allocations: 345.9 kB / 489.8 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.4557, allocations: 2.207 MB / 492 MB, free: 19.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.457, allocations: 220.8 kB / 492.3 MB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.4573, allocations: 60.62 kB / 492.3 MB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/0.4594, allocations: 0.9346 MB / 493.3 MB, free: 18.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.4595, allocations: 38.56 kB / 493.3 MB, free: 18.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 4.208e-06/0.4595, allocations: 1.312 kB / 493.3 MB, free: 18.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.002406/0.4619, allocations: 395.5 kB / 493.7 MB, free: 18.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.462, allocations: 108.3 kB / 493.8 MB, free: 18.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.4637, allocations: 0.6503 MB / 494.4 MB, free: 18.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.4638, allocations: 34.95 kB / 494.5 MB, free: 18.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.4642, allocations: 312.2 kB / 494.8 MB, free: 17.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4642, allocations: 39.78 kB / 494.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.4643, allocations: 39.72 kB / 494.9 MB, free: 17.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4645, allocations: 372.5 kB / 495.2 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.4651, allocations: 117.5 kB / 495.3 MB, free: 17.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/0.466, allocations: 314.7 kB / 495.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.4672, allocations: 357.2 kB / 496 MB, free: 17.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4673, allocations: 1.156 kB / 496 MB, free: 17.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001797/0.4691, allocations: 445.1 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.4693, allocations: 216.2 kB / 496.6 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.4693, allocations: 5.812 kB / 496.6 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/0.4694, allocations: 5.969 kB / 496.7 MB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.4701, allocations: 102.5 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.4701, allocations: 9.75 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/0.4711, allocations: 75.75 kB / 496.8 MB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/0.4712, allocations: 18.72 kB / 496.9 MB, free: 16.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4713, allocations: 7.125 kB / 496.9 MB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/0.4723, allocations: 297.8 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.4724, allocations: 4.062 kB / 497.2 MB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4724, allocations: 5.531 kB / 497.2 MB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.4729, allocations: 79.61 kB / 497.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.473, allocations: 11.56 kB / 497.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.4737, allocations: 56.88 kB / 497.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.4738, allocations: 20.3 kB / 497.3 MB, free: 16.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0004597/0.4743, allocations: 273.8 kB / 497.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4745, allocations: 53.34 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.4758, allocations: 263.5 kB / 497.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.4759, allocations: 1.406 kB / 497.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4759, allocations: 3.375 kB / 497.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4759, allocations: 1.5 kB / 497.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009544/0.4769, allocations: 397.7 kB / 498.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4769, allocations: 0 / 498.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.4773, allocations: 47.88 kB / 498.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4773, allocations: 1.375 kB / 498.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4774, allocations: 0.9062 kB / 498.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4774, allocations: 3.938 kB / 498.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4774, allocations: 1.156 kB / 498.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4792, allocations: 442.2 kB / 498.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.4794, allocations: 141.5 kB / 498.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.4796, allocations: 5.094 kB / 498.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.4803, allocations: 33.11 kB / 499 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.4803, allocations: 10.75 kB / 499 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.4804, allocations: 8.125 kB / 499 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.4815, allocations: 460.2 kB / 499.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4815, allocations: 1.031 kB / 499.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001662/0.4832, allocations: 243.9 kB / 499.7 MB, free: 15.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001771/0.4849, allocations: 436.8 kB / 0.4884 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.4869, allocations: 420.7 kB / 0.4888 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.487, allocations: 4.125 kB / 0.4888 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.4875, allocations: 87.19 kB / 0.4889 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.4903, allocations: 278.4 kB / 0.4891 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.4964, allocations: 1.435 MB / 0.4905 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.497, allocations: 0.8564 MB / 0.4914 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001095/0.4982, allocations: 107.5 kB / 0.4915 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.4984, allocations: 46.77 kB / 0.4915 GB, free: 13.39 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4984, allocations: 0 / 0.4915 GB, free: 13.39 MB / 382.1 MB Notification: Performance of Templates: time 0.04075/0.5392, allocations: 10.21 MB / 0.5015 GB, free: 11.63 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: