Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008956/0.0008955, allocations: 100.9 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.001111/0.001111, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8853/0.8853, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 9.406 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 82.32 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.2781/0.4225, allocations: 19.58 MB / 0.6063 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008063/0.4306, allocations: 5.632 MB / 0.6118 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009374/0.4316, allocations: 24.28 kB / 0.6118 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.4325, allocations: 359.6 kB / 0.6122 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.4355, allocations: 1.125 MB / 0.6133 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.4381, allocations: 1.096 MB / 0.6144 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.4399, allocations: 1.208 MB / 0.6155 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006422/0.4406, allocations: 0.5839 MB / 0.6161 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.4415, allocations: 0.6585 MB / 0.6167 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.442, allocations: 0.5114 MB / 0.6172 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.4421, allocations: 31.69 kB / 0.6173 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.4435, allocations: 0.8974 MB / 0.6182 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4437, allocations: 166.6 kB / 0.6183 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4438, allocations: 200.9 kB / 0.6185 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.4447, allocations: 1.033 MB / 0.6195 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4447, allocations: 0 / 0.6195 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4447, allocations: 0 / 0.6195 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4447, allocations: 0.75 kB / 0.6195 GB, free: 34.11 MB / 0.4981 GB 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.001644/0.4463, allocations: 1.245 MB / 0.6207 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.4464, allocations: 13.59 kB / 0.6207 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.4465, allocations: 115.3 kB / 0.6209 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.4474, allocations: 0.6426 MB / 0.6215 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.4474, allocations: 50.94 kB / 0.6215 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.4475, allocations: 59.28 kB / 0.6216 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.4483, allocations: 0.6617 MB / 0.6222 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4483, allocations: 3.938 kB / 0.6222 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.4484, allocations: 27.44 kB / 0.6223 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4484, allocations: 15.25 kB / 0.6223 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.4491, allocations: 450.8 kB / 0.6227 GB, free: 32.78 MB / 0.4981 GB 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.002606/0.4517, allocations: 2.544 MB / 0.6252 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/0.4523, allocations: 373.8 kB / 0.6255 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.4525, allocations: 339.1 kB / 0.6259 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.4529, allocations: 332.8 kB / 0.6262 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.453, allocations: 0 / 0.6262 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001083/0.454, allocations: 0.7795 MB / 0.6269 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.4541, allocations: 239.9 kB / 0.6272 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.4548, allocations: 0.8381 MB / 0.628 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4549, allocations: 43.45 kB / 0.628 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.4551, allocations: 442.6 kB / 0.6285 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.4552, allocations: 121.4 kB / 0.6286 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4552, allocations: 9.625 kB / 0.6286 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.4552, allocations: 329.5 kB / 0.6289 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.4555, allocations: 199.9 kB / 0.6291 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.4559, allocations: 361 kB / 0.6294 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.4563, allocations: 258.6 kB / 0.6297 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4563, allocations: 2.516 kB / 0.6297 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009025/0.4572, allocations: 0.7295 MB / 0.6304 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.4574, allocations: 1.091 MB / 0.6315 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4574, allocations: 6.812 kB / 0.6315 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.4574, allocations: 5.562 kB / 0.6315 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.4583, allocations: 184.3 kB / 0.6316 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00053/0.4589, allocations: 1.773 MB / 0.6334 GB, free: 26.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.4594, allocations: 111.4 kB / 0.6335 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.4595, allocations: 23.88 kB / 0.6335 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.4595, allocations: 8.938 kB / 0.6335 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008346/0.4604, allocations: 0.6389 MB / 0.6341 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4604, allocations: 10.84 kB / 0.6342 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.4604, allocations: 6.156 kB / 0.6342 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.4608, allocations: 125.2 kB / 0.6343 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4608, allocations: 10.16 kB / 0.6343 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.4613, allocations: 105.8 kB / 0.6344 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.4614, allocations: 25.83 kB / 0.6344 GB, free: 26.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.4617, allocations: 345.9 kB / 0.6347 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.4618, allocations: 95.12 kB / 0.6348 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.4627, allocations: 0.6911 MB / 0.6355 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4627, allocations: 3.219 kB / 0.6355 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4627, allocations: 3.375 kB / 0.6355 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4628, allocations: 3.953 kB / 0.6355 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.4642, allocations: 1.518 MB / 0.637 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4642, allocations: 7.5 kB / 0.637 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.4646, allocations: 97.69 kB / 0.6371 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4646, allocations: 2.781 kB / 0.6371 GB, free: 24.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.4646, allocations: 13.67 kB / 0.6371 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003966/0.465, allocations: 1.771 MB / 0.6388 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.465, allocations: 0 / 0.6388 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4661, allocations: 1.163 MB / 0.64 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4664, allocations: 222 kB / 0.6402 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.4665, allocations: 17.36 kB / 0.6402 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.467, allocations: 58.72 kB / 0.6403 GB, free: 22.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.467, allocations: 51.22 kB / 0.6403 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4671, allocations: 15.02 kB / 0.6403 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004949/0.4676, allocations: 0.5679 MB / 0.6409 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4676, allocations: 7.938 kB / 0.6409 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000993/0.4686, allocations: 457.8 kB / 0.6413 GB, free: 21.72 MB / 0.4981 GB 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005428/0.4691, allocations: 335.2 kB / 0.6416 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.4708, allocations: 1.026 MB / 0.6426 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4709, allocations: 0 / 0.6426 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.4714, allocations: 347.2 kB / 0.643 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.473, allocations: 365.9 kB / 0.6433 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.475, allocations: 1.735 MB / 0.645 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.4754, allocations: 1.025 MB / 0.646 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004999/0.4759, allocations: 155.2 kB / 0.6462 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.476, allocations: 66.73 kB / 0.6462 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of SimCode: time 5.62e-07/0.476, allocations: 1.031 kB / 0.6462 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.02919/0.5052, allocations: 15.42 MB / 0.6613 GB, free: 18.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.pipe 2>&1) Environment - environmentSimulation: