Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9/0.9, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 13.31 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.2876/0.4401, allocations: 21.58 MB / 0.6097 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006233/0.4464, allocations: 5.199 MB / 0.6148 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009194/0.4473, allocations: 20.91 kB / 0.6148 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.4482, allocations: 253.6 kB / 0.615 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.4504, allocations: 0.7987 MB / 0.6158 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.4519, allocations: 0.6551 MB / 0.6165 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.4534, allocations: 1.866 MB / 0.6183 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000512/0.454, allocations: 433.4 kB / 0.6187 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.4547, allocations: 0.56 MB / 0.6192 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.4552, allocations: 458.4 kB / 0.6197 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.4552, allocations: 20.09 kB / 0.6197 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.4561, allocations: 0.5917 MB / 0.6203 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4562, allocations: 114.1 kB / 0.6204 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.4565, allocations: 347.4 kB / 0.6207 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.4571, allocations: 0.7645 MB / 0.6215 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4571, allocations: 0 / 0.6215 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4571, allocations: 3.031 kB / 0.6215 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4571, allocations: 0 / 0.6215 GB, free: 32.99 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001285/0.4584, allocations: 0.9363 MB / 0.6224 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4584, allocations: 9.938 kB / 0.6224 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.4585, allocations: 83.03 kB / 0.6225 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.4591, allocations: 0.5477 MB / 0.623 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4592, allocations: 32.38 kB / 0.623 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.4592, allocations: 42.31 kB / 0.6231 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.4597, allocations: 313.5 kB / 0.6234 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4598, allocations: 0 / 0.6234 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.4598, allocations: 13.47 kB / 0.6234 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.4598, allocations: 16.69 kB / 0.6234 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.4603, allocations: 268.7 kB / 0.6237 GB, free: 31.97 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.001923/0.4622, allocations: 1.581 MB / 0.6252 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.4625, allocations: 194.8 kB / 0.6254 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4627, allocations: 102.4 kB / 0.6255 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.463, allocations: 421.3 kB / 0.6259 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.463, allocations: 37.81 kB / 0.6259 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.463, allocations: 0 / 0.6259 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006626/0.4637, allocations: 343.6 kB / 0.6263 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.4637, allocations: 59.34 kB / 0.6263 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.4643, allocations: 0.6537 MB / 0.6269 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4644, allocations: 36.98 kB / 0.627 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4645, allocations: 303.6 kB / 0.6273 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.4646, allocations: 69.8 kB / 0.6273 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.4646, allocations: 49.86 kB / 0.6274 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.4647, allocations: 379 kB / 0.6277 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.465, allocations: 132 kB / 0.6279 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.4653, allocations: 210.3 kB / 0.6281 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.4658, allocations: 300.4 kB / 0.6284 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4658, allocations: 0 / 0.6284 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006929/0.4665, allocations: 466.3 kB / 0.6288 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.4665, allocations: 118.2 kB / 0.6289 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4665, allocations: 2.938 kB / 0.6289 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4666, allocations: 2.812 kB / 0.6289 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.4673, allocations: 144.8 kB / 0.6291 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.4677, allocations: 1.185 MB / 0.6302 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.4682, allocations: 70.95 kB / 0.6303 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.4682, allocations: 24.95 kB / 0.6303 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.4683, allocations: 3.125 kB / 0.6303 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005863/0.4688, allocations: 360.8 kB / 0.6307 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.4689, allocations: 2.594 kB / 0.6307 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/0.4689, allocations: 6.406 kB / 0.6307 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.4693, allocations: 118.4 kB / 0.6308 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4693, allocations: 3.125 kB / 0.6308 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.4697, allocations: 63.55 kB / 0.6308 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.4697, allocations: 15.97 kB / 0.6309 GB, free: 28.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.4699, allocations: 259.6 kB / 0.6311 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.47, allocations: 66.22 kB / 0.6312 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006059/0.4706, allocations: 337.7 kB / 0.6315 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.4706, allocations: 3.125 kB / 0.6315 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4706, allocations: 4 kB / 0.6315 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4707, allocations: 3.984 kB / 0.6315 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4717, allocations: 0.9129 MB / 0.6324 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4717, allocations: 0 / 0.6324 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.4719, allocations: 68.52 kB / 0.6325 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.472, allocations: 0 / 0.6325 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.472, allocations: 9.969 kB / 0.6325 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002998/0.4723, allocations: 1.187 MB / 0.6336 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4723, allocations: 3.25 kB / 0.6336 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.4729, allocations: 0.5234 MB / 0.6341 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4731, allocations: 179.3 kB / 0.6343 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.4732, allocations: 11.19 kB / 0.6343 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.4735, allocations: 38.14 kB / 0.6344 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.4736, allocations: 17.25 kB / 0.6344 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.4736, allocations: 10.22 kB / 0.6344 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004453/0.474, allocations: 454 kB / 0.6348 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.474, allocations: 0 / 0.6348 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007325/0.4748, allocations: 303.8 kB / 0.6351 GB, free: 25.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004217/0.4752, allocations: 247.1 kB / 0.6353 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.4764, allocations: 0.5361 MB / 0.6359 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4764, allocations: 3.938 kB / 0.6359 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.4767, allocations: 132.2 kB / 0.636 GB, free: 24.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.4782, allocations: 297.5 kB / 0.6363 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.4796, allocations: 1.273 MB / 0.6375 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.4798, allocations: 0.8914 MB / 0.6384 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4799, allocations: 56.89 kB / 0.6384 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.4799, allocations: 0 / 0.6384 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.0187/0.4987, allocations: 14.87 MB / 0.653 GB, free: 21.73 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)