Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008634/0.0008634, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007087/0.007087, allocations: 172.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8458/0.8458, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003859, allocations: 16.53 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4641, allocations: 81.57 MB / 0.5837 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02409/0.4883, allocations: 22.53 MB / 0.6057 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.4992, allocations: 6.492 MB / 0.612 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.5008, allocations: 23.62 kB / 0.612 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.5021, allocations: 328.5 kB / 0.6124 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.5056, allocations: 0.9793 MB / 0.6133 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.5085, allocations: 0.9694 MB / 0.6143 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.5122, allocations: 2.493 MB / 0.6167 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.5138, allocations: 0.6281 MB / 0.6173 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.5161, allocations: 0.7297 MB / 0.618 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.518, allocations: 0.6853 MB / 0.6187 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.5183, allocations: 31.28 kB / 0.6187 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.5209, allocations: 0.9389 MB / 0.6196 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.5213, allocations: 177 kB / 0.6198 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.5226, allocations: 482.7 kB / 0.6203 GB, free: 9.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.5257, allocations: 1.409 MB / 0.6216 GB, free: 8.566 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5257, allocations: 0 / 0.6216 GB, free: 8.566 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5257, allocations: 0 / 0.6216 GB, free: 8.566 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.992e-05/0.5258, allocations: 0 / 0.6216 GB, free: 8.566 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002724/0.5285, allocations: 1.249 MB / 0.6229 GB, free: 7.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5285, allocations: 9.219 kB / 0.6229 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.5289, allocations: 116.7 kB / 0.623 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.5302, allocations: 0.6805 MB / 0.6236 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.5303, allocations: 47.44 kB / 0.6237 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.5304, allocations: 62.59 kB / 0.6237 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.5317, allocations: 0.6673 MB / 0.6244 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5317, allocations: 0.9688 kB / 0.6244 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.5318, allocations: 26.19 kB / 0.6244 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5318, allocations: 16.88 kB / 0.6244 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.5327, allocations: 456.4 kB / 0.6249 GB, free: 6.184 MB / 462.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.003692/0.5364, allocations: 2.553 MB / 0.6274 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.5371, allocations: 362.7 kB / 0.6277 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.5375, allocations: 196.8 kB / 0.6279 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.5378, allocations: 348.4 kB / 0.6282 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.5384, allocations: 333.3 kB / 0.6286 GB, free: 2.164 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 2.524e-06/0.5384, allocations: 0 / 0.6286 GB, free: 2.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001375/0.5398, allocations: 0.6974 MB / 0.6292 GB, free: 1.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5399, allocations: 243.3 kB / 0.6295 GB, free: 1.164 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5409, allocations: 0.8445 MB / 0.6303 GB, free: 304 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.541, allocations: 37.95 kB / 0.6303 GB, free: 260 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.5413, allocations: 444.3 kB / 0.6308 GB, free: 15.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5415, allocations: 110.4 kB / 0.6309 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.5416, allocations: 65.61 kB / 0.6309 GB, free: 15.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5417, allocations: 329.9 kB / 0.6312 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.5421, allocations: 209.1 kB / 0.6314 GB, free: 15.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.5426, allocations: 379.7 kB / 0.6318 GB, free: 14.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.5435, allocations: 0.5417 MB / 0.6323 GB, free: 14.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5435, allocations: 4 kB / 0.6323 GB, free: 14.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001315/0.5448, allocations: 0.7448 MB / 0.6331 GB, free: 13.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.545, allocations: 202.3 kB / 0.6332 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.545, allocations: 4 kB / 0.6333 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.545, allocations: 11.98 kB / 0.6333 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.5461, allocations: 179.7 kB / 0.6334 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009462/0.547, allocations: 1.785 MB / 0.6352 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.5478, allocations: 103.5 kB / 0.6353 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.5479, allocations: 28.53 kB / 0.6353 GB, free: 10.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.5479, allocations: 4 kB / 0.6353 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/0.5491, allocations: 0.6425 MB / 0.6359 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5491, allocations: 7.938 kB / 0.6359 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.5491, allocations: 8 kB / 0.636 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.5496, allocations: 136.1 kB / 0.6361 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5496, allocations: 8 kB / 0.6361 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006922/0.5503, allocations: 99.38 kB / 0.6362 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.5504, allocations: 24 kB / 0.6362 GB, free: 9.973 MB / 478.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: 12 (mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003999/0.5508, allocations: 344.2 kB / 0.6365 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.551, allocations: 102.7 kB / 0.6366 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.5522, allocations: 0.6866 MB / 0.6373 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5523, allocations: 4 kB / 0.6373 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5523, allocations: 0 / 0.6373 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5523, allocations: 0 / 0.6373 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.5545, allocations: 1.536 MB / 0.6388 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5545, allocations: 0 / 0.6388 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.5549, allocations: 99.86 kB / 0.6389 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5549, allocations: 8.125 kB / 0.6389 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.555, allocations: 12 kB / 0.6389 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007976/0.5558, allocations: 1.766 MB / 0.6406 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5558, allocations: 7.969 kB / 0.6407 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5573, allocations: 1.12 MB / 0.6417 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.5577, allocations: 219.8 kB / 0.642 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5578, allocations: 16 kB / 0.642 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.5584, allocations: 55.91 kB / 0.642 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5585, allocations: 51.81 kB / 0.6421 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.5586, allocations: 23.98 kB / 0.6421 GB, free: 3.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007104/0.5593, allocations: 0.5748 MB / 0.6427 GB, free: 3.137 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5593, allocations: 0 / 0.6427 GB, free: 3.137 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001324/0.5606, allocations: 463.1 kB / 0.6431 GB, free: 2.684 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008512/0.5615, allocations: 326.2 kB / 0.6434 GB, free: 2.367 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.5639, allocations: 1.039 MB / 0.6444 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5639, allocations: 0 / 0.6444 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.5645, allocations: 361.4 kB / 0.6448 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.567, allocations: 373.6 kB / 0.6451 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.5698, allocations: 1.818 MB / 0.6469 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.5704, allocations: 0.9973 MB / 0.6479 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006222/0.5711, allocations: 149.5 kB / 0.648 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.5712, allocations: 71.41 kB / 0.6481 GB, free: 13.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5713, allocations: 0 / 0.6481 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Templates: time 0.02808/0.5993, allocations: 15.88 MB / 0.6636 GB, free: 13.84 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1)