Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008498/0.0008497, 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.0008547/0.0008547, 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.186/1.186, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8201/0.8201, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 8 kB / 0.5068 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 82.33 MB / 0.5872 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01872/0.1753, allocations: 18.74 MB / 0.6055 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2719/0.4473, allocations: 4.489 MB / 0.6099 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.4478, allocations: 18.03 kB / 0.6099 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.4485, allocations: 270 kB / 0.6102 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.4506, allocations: 0.8947 MB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.4523, allocations: 0.7332 MB / 0.6118 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.4535, allocations: 0.9125 MB / 0.6127 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.454, allocations: 394.3 kB / 0.613 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.4546, allocations: 0.498 MB / 0.6135 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.455, allocations: 337.9 kB / 0.6138 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.4551, allocations: 19.72 kB / 0.6139 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.4558, allocations: 401 kB / 0.6142 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4559, allocations: 111.7 kB / 0.6143 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.615e-05/0.456, allocations: 149.2 kB / 0.6145 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.4566, allocations: 0.7097 MB / 0.6152 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.4566, allocations: 0 / 0.6152 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4566, allocations: 0 / 0.6152 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.4566, allocations: 0 / 0.6152 GB, free: 34.46 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.001279/0.4579, allocations: 0.9219 MB / 0.6161 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4579, allocations: 12.39 kB / 0.6161 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.458, allocations: 83.66 kB / 0.6162 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.4587, allocations: 0.524 MB / 0.6167 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.4587, allocations: 30.91 kB / 0.6167 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.4588, allocations: 41.86 kB / 0.6168 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.4593, allocations: 307.6 kB / 0.617 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4593, allocations: 0 / 0.617 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.4593, allocations: 15.47 kB / 0.6171 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.4593, allocations: 23.45 kB / 0.6171 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.4598, allocations: 261.1 kB / 0.6173 GB, free: 33.48 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.001839/0.4616, allocations: 1.576 MB / 0.6189 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.4619, allocations: 195 kB / 0.6191 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.4622, allocations: 423.3 kB / 0.6195 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.4622, allocations: 30.56 kB / 0.6195 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.4622, allocations: 0 / 0.6195 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006036/0.4628, allocations: 350.4 kB / 0.6198 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.4628, allocations: 58.2 kB / 0.6199 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.4634, allocations: 0.6387 MB / 0.6205 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4634, allocations: 32.2 kB / 0.6205 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4636, allocations: 310.6 kB / 0.6208 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4637, allocations: 69.95 kB / 0.6209 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.4637, allocations: 11.03 kB / 0.6209 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.4638, allocations: 368.8 kB / 0.6213 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.464, allocations: 127.6 kB / 0.6214 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.4642, allocations: 208.1 kB / 0.6216 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.4645, allocations: 162.5 kB / 0.6217 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4645, allocations: 2.516 kB / 0.6217 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006145/0.4651, allocations: 441.1 kB / 0.6222 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.4652, allocations: 451.2 kB / 0.6226 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4652, allocations: 0 / 0.6226 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4652, allocations: 7.062 kB / 0.6226 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.466, allocations: 144.2 kB / 0.6227 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003741/0.4663, allocations: 1.194 MB / 0.6239 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.4668, allocations: 61.06 kB / 0.624 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4668, allocations: 16.72 kB / 0.624 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.4668, allocations: 7.094 kB / 0.624 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005573/0.4674, allocations: 369 kB / 0.6243 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.4674, allocations: 3.938 kB / 0.6243 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.4674, allocations: 3.188 kB / 0.6243 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.4678, allocations: 123.3 kB / 0.6245 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.4678, allocations: 2.844 kB / 0.6245 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.4682, allocations: 56.22 kB / 0.6245 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.4682, allocations: 18.53 kB / 0.6245 GB, free: 29.53 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 (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.4684, allocations: 268.2 kB / 0.6248 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.4685, allocations: 63.69 kB / 0.6248 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.4691, allocations: 327.2 kB / 0.6252 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4691, allocations: 7.547 kB / 0.6252 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4691, allocations: 0 / 0.6252 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4691, allocations: 1.969 kB / 0.6252 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.4701, allocations: 0.9092 MB / 0.6261 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4701, allocations: 2.719 kB / 0.6261 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.4704, allocations: 69.3 kB / 0.6261 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4704, allocations: 6.781 kB / 0.6261 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4704, allocations: 6.5 kB / 0.6261 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003015/0.4707, allocations: 1.183 MB / 0.6273 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4707, allocations: 7.469 kB / 0.6273 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.4713, allocations: 0.5745 MB / 0.6279 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.4715, allocations: 179.8 kB / 0.628 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.4716, allocations: 13.31 kB / 0.628 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.4719, allocations: 35.16 kB / 0.6281 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.472, allocations: 15.91 kB / 0.6281 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.472, allocations: 10.47 kB / 0.6281 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004139/0.4724, allocations: 450.2 kB / 0.6285 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4724, allocations: 0 / 0.6285 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006968/0.4731, allocations: 291.6 kB / 0.6288 GB, free: 27.16 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 (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004232/0.4735, allocations: 248.4 kB / 0.629 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.4747, allocations: 0.5196 MB / 0.6296 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4747, allocations: 3.25 kB / 0.6296 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.475, allocations: 131.3 kB / 0.6297 GB, free: 27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.4762, allocations: 294.2 kB / 0.63 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.4774, allocations: 1.193 MB / 0.6311 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4777, allocations: 0.911 MB / 0.632 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003458/0.478, allocations: 129.7 kB / 0.6321 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.4781, allocations: 45.5 kB / 0.6322 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4781, allocations: 0 / 0.6322 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.01536/0.4935, allocations: 10.46 MB / 0.6424 GB, free: 24.8 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1) Environment - environmentSimulation: