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.001486/0.001486, allocations: 108 kB / 15.6 MB, free: 132 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.001969/0.001969, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 54.91 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1969, allocations: 80.92 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.2936/0.4905, allocations: 22.3 MB / 0.6061 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0069/0.4975, allocations: 5.226 MB / 0.6113 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.4985, allocations: 21.22 kB / 0.6113 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.4994, allocations: 314.9 kB / 0.6116 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.5021, allocations: 0.8636 MB / 0.6124 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.504, allocations: 0.7218 MB / 0.6131 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5058, allocations: 1.485 MB / 0.6146 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.5067, allocations: 0.5257 MB / 0.6151 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.5079, allocations: 0.622 MB / 0.6157 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.5085, allocations: 489.9 kB / 0.6162 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.5086, allocations: 53.66 kB / 0.6162 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.5099, allocations: 0.6271 MB / 0.6168 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.5101, allocations: 158.1 kB / 0.617 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.5104, allocations: 361 kB / 0.6173 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.5116, allocations: 1.055 MB / 0.6183 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5116, allocations: 0 / 0.6183 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5116, allocations: 0 / 0.6183 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.5117, allocations: 0 / 0.6183 GB, free: 34.89 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.001523/0.5132, allocations: 1.06 MB / 0.6194 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5132, allocations: 9.562 kB / 0.6194 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.5134, allocations: 82.59 kB / 0.6195 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.514, allocations: 0.5462 MB / 0.62 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.5141, allocations: 32.94 kB / 0.62 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.5142, allocations: 44.47 kB / 0.6201 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.5146, allocations: 313.2 kB / 0.6204 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5147, allocations: 0 / 0.6204 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.5147, allocations: 10.69 kB / 0.6204 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5147, allocations: 13.38 kB / 0.6204 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.5152, allocations: 259.7 kB / 0.6206 GB, free: 33.45 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.002007/0.5172, allocations: 1.583 MB / 0.6222 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.5175, allocations: 189.7 kB / 0.6224 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.5177, allocations: 93.17 kB / 0.6225 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.518, allocations: 420.1 kB / 0.6229 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.518, allocations: 34.56 kB / 0.6229 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.518, allocations: 4 kB / 0.6229 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006932/0.5187, allocations: 332 kB / 0.6232 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.5188, allocations: 57.39 kB / 0.6233 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.5194, allocations: 0.6436 MB / 0.6239 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5194, allocations: 32.52 kB / 0.6239 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5196, allocations: 301 kB / 0.6242 GB, free: 31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.5196, allocations: 70.55 kB / 0.6243 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.5198, allocations: 106.5 kB / 0.6244 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.5199, allocations: 374.3 kB / 0.6247 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.5201, allocations: 135.2 kB / 0.6249 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.5204, allocations: 209.4 kB / 0.6251 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.5208, allocations: 285.9 kB / 0.6253 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5208, allocations: 0 / 0.6253 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006721/0.5215, allocations: 451.5 kB / 0.6258 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5215, allocations: 6.219 kB / 0.6258 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5216, allocations: 0 / 0.6258 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5216, allocations: 3.531 kB / 0.6258 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.5224, allocations: 145.5 kB / 0.6259 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004128/0.5228, allocations: 1.193 MB / 0.6271 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.5232, allocations: 54.16 kB / 0.6271 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.5233, allocations: 15.88 kB / 0.6272 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003683/0.5236, allocations: 276.6 kB / 0.6274 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002643/0.5239, allocations: 207.9 kB / 0.6276 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004175/0.5243, allocations: 288.5 kB / 0.6279 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.5244, allocations: 0 / 0.6279 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0006557/0.525, allocations: 434.2 kB / 0.6283 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.525, allocations: 9.938 kB / 0.6283 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.525, allocations: 0 / 0.6283 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-06/0.5251, allocations: 3 kB / 0.6283 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.5255, allocations: 114.4 kB / 0.6284 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5255, allocations: 6.219 kB / 0.6284 GB, free: 28.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.5259, allocations: 32.83 kB / 0.6285 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.526, allocations: 17 kB / 0.6285 GB, free: 28.18 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.0001282/0.5261, allocations: 206.5 kB / 0.6287 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.5262, allocations: 71.16 kB / 0.6287 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.5269, allocations: 316.7 kB / 0.629 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5269, allocations: 6.5 kB / 0.6291 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5269, allocations: 0 / 0.6291 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5269, allocations: 0 / 0.6291 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.528, allocations: 0.9035 MB / 0.6299 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5281, allocations: 0 / 0.6299 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.5283, allocations: 64.78 kB / 0.63 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5284, allocations: 0 / 0.63 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.5284, allocations: 10.81 kB / 0.63 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003433/0.5287, allocations: 1.182 MB / 0.6312 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5288, allocations: 0 / 0.6312 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.5294, allocations: 0.5181 MB / 0.6317 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.5296, allocations: 162.3 kB / 0.6318 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.5297, allocations: 11 kB / 0.6318 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.53, allocations: 19.36 kB / 0.6319 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.5301, allocations: 19.45 kB / 0.6319 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.5301, allocations: 5.531 kB / 0.6319 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004665/0.5306, allocations: 450.8 kB / 0.6323 GB, free: 25.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5306, allocations: 3.938 kB / 0.6323 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008727/0.5315, allocations: 304.8 kB / 0.6326 GB, free: 25.3 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.0005037/0.532, allocations: 262.5 kB / 0.6329 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.5334, allocations: 0.5275 MB / 0.6334 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5334, allocations: 0 / 0.6334 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.5337, allocations: 134.9 kB / 0.6335 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.535, allocations: 282.6 kB / 0.6338 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5365, allocations: 1.014 MB / 0.6348 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.5368, allocations: 0.8878 MB / 0.6356 GB, free: 23.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000459/0.5373, allocations: 124.5 kB / 0.6357 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5374, allocations: 50.31 kB / 0.6358 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of SimCode: time 5e-07/0.5374, allocations: 0 / 0.6358 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.02191/0.5593, allocations: 11.15 MB / 0.6467 GB, free: 22.7 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)