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.001702/0.001709, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001956/0.001956, allocations: 194.9 kB / 16.25 MB, free: 6.641 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9394/0.9394, allocations: 135.6 MB / 425.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.12 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.203, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.3083/0.5114, allocations: 22.17 MB / 0.6062 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006027/0.5174, allocations: 5.194 MB / 0.6112 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009163/0.5184, allocations: 21.19 kB / 0.6112 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008811/0.5193, allocations: 269.1 kB / 0.6115 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.5216, allocations: 0.7982 MB / 0.6123 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.5232, allocations: 0.6594 MB / 0.6129 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.5248, allocations: 1.498 MB / 0.6144 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006038/0.5254, allocations: 0.508 MB / 0.6149 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008895/0.5263, allocations: 0.6275 MB / 0.6155 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.5268, allocations: 0.4954 MB / 0.616 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.655e-05/0.5269, allocations: 53.75 kB / 0.616 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.5279, allocations: 0.6376 MB / 0.6167 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.528, allocations: 151.4 kB / 0.6168 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.5283, allocations: 371 kB / 0.6172 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009541/0.5292, allocations: 1.048 MB / 0.6182 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5292, allocations: 3 kB / 0.6182 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5293, allocations: 0 / 0.6182 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5293, allocations: 0 / 0.6182 GB, free: 34.9 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.001462/0.5307, allocations: 1.049 MB / 0.6192 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5308, allocations: 12.59 kB / 0.6192 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.5309, allocations: 84.62 kB / 0.6193 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.5316, allocations: 0.5463 MB / 0.6198 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.5316, allocations: 30.75 kB / 0.6199 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.5317, allocations: 40.31 kB / 0.6199 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.5322, allocations: 315.4 kB / 0.6202 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5322, allocations: 0 / 0.6202 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.5322, allocations: 14.69 kB / 0.6202 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.5323, allocations: 11.5 kB / 0.6202 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.5327, allocations: 261.4 kB / 0.6205 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.00199/0.5347, allocations: 1.565 MB / 0.622 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.535, allocations: 194 kB / 0.6222 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.5352, allocations: 95.2 kB / 0.6223 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.5355, allocations: 416.1 kB / 0.6227 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.5355, allocations: 41.75 kB / 0.6227 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.5355, allocations: 0 / 0.6227 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006661/0.5362, allocations: 331.5 kB / 0.623 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.5362, allocations: 54.69 kB / 0.6231 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.5368, allocations: 0.6431 MB / 0.6237 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.5369, allocations: 32.23 kB / 0.6237 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.5371, allocations: 305.6 kB / 0.624 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.5371, allocations: 72.52 kB / 0.6241 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.5373, allocations: 104.5 kB / 0.6242 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.5374, allocations: 373 kB / 0.6246 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.5376, allocations: 139.9 kB / 0.6247 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.5379, allocations: 210.5 kB / 0.6249 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.5383, allocations: 285.5 kB / 0.6252 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5383, allocations: 0 / 0.6252 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006682/0.539, allocations: 450.7 kB / 0.6256 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.539, allocations: 3.312 kB / 0.6256 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5391, allocations: 2.688 kB / 0.6256 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.5391, allocations: 2.469 kB / 0.6256 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.5399, allocations: 149.3 kB / 0.6257 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.5403, allocations: 1.191 MB / 0.6269 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.5408, allocations: 68.25 kB / 0.627 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.5409, allocations: 18.48 kB / 0.627 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003641/0.5412, allocations: 274.5 kB / 0.6272 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002691/0.5415, allocations: 198.8 kB / 0.6274 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004039/0.5419, allocations: 290.1 kB / 0.6277 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.5419, allocations: 0 / 0.6277 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0006324/0.5426, allocations: 434.9 kB / 0.6281 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5426, allocations: 13.16 kB / 0.6281 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.5426, allocations: 0 / 0.6281 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.5426, allocations: 5.219 kB / 0.6281 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.543, allocations: 112.4 kB / 0.6283 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.543, allocations: 2.844 kB / 0.6283 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.5435, allocations: 49.47 kB / 0.6283 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.5435, allocations: 22.78 kB / 0.6283 GB, free: 28.2 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.0001158/0.5436, allocations: 196.1 kB / 0.6285 GB, free: 28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.5437, allocations: 69.03 kB / 0.6286 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/0.5443, allocations: 309.8 kB / 0.6289 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5443, allocations: 7.125 kB / 0.6289 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5444, allocations: 3.562 kB / 0.6289 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5444, allocations: 6.531 kB / 0.6289 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5454, allocations: 0.9074 MB / 0.6298 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5455, allocations: 0 / 0.6298 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.5457, allocations: 53.58 kB / 0.6298 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5458, allocations: 7.312 kB / 0.6298 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.5458, allocations: 6.562 kB / 0.6298 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/0.5461, allocations: 1.185 MB / 0.631 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.5461, allocations: 3.516 kB / 0.631 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.5468, allocations: 0.5176 MB / 0.6315 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.547, allocations: 171.5 kB / 0.6317 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.5471, allocations: 11.12 kB / 0.6317 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.5474, allocations: 25.91 kB / 0.6317 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5475, allocations: 19.75 kB / 0.6317 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5475, allocations: 6.562 kB / 0.6317 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004697/0.5479, allocations: 453.9 kB / 0.6322 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.548, allocations: 0 / 0.6322 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008153/0.5488, allocations: 305.1 kB / 0.6325 GB, free: 25.32 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.0005361/0.5493, allocations: 246.5 kB / 0.6327 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.5507, allocations: 0.5372 MB / 0.6332 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5507, allocations: 0 / 0.6332 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.551, allocations: 124.5 kB / 0.6333 GB, free: 25.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.5522, allocations: 287.7 kB / 0.6336 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5538, allocations: 1.209 MB / 0.6348 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.554, allocations: 0.8901 MB / 0.6357 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004712/0.5545, allocations: 121.9 kB / 0.6358 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.5546, allocations: 49.84 kB / 0.6358 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.5546, allocations: 0 / 0.6358 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.02123/0.5759, allocations: 11.05 MB / 0.6466 GB, free: 22.59 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)