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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001052/0.001052, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007879/0.007879, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8069/0.8069, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 12 kB / 0.504 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4806, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02434/0.505, allocations: 21.61 MB / 0.6048 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008716/0.5137, allocations: 5.197 MB / 0.6099 GB, free: 272 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.515, allocations: 20.81 kB / 0.6099 GB, free: 260 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.5161, allocations: 246.5 kB / 0.6101 GB, free: 52 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.5195, allocations: 0.8017 MB / 0.6109 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.5216, allocations: 0.6457 MB / 0.6115 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.5246, allocations: 1.882 MB / 0.6134 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.5254, allocations: 435.7 kB / 0.6138 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.5267, allocations: 0.5548 MB / 0.6143 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007193/0.5275, allocations: 455.7 kB / 0.6148 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.5275, allocations: 20.78 kB / 0.6148 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.5288, allocations: 0.5782 MB / 0.6153 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.529, allocations: 123.4 kB / 0.6155 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.5294, allocations: 346 kB / 0.6158 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.5307, allocations: 1.007 MB / 0.6168 GB, free: 11.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5307, allocations: 3.938 kB / 0.6168 GB, free: 11.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5307, allocations: 1.031 kB / 0.6168 GB, free: 11.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5308, allocations: 0 / 0.6168 GB, free: 11.71 MB / 462.1 MB 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.001805/0.5326, allocations: 0.9312 MB / 0.6177 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5326, allocations: 10.06 kB / 0.6177 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.5328, allocations: 78.53 kB / 0.6178 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.5337, allocations: 0.5601 MB / 0.6183 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.5338, allocations: 27.91 kB / 0.6183 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.5338, allocations: 43.09 kB / 0.6184 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.5345, allocations: 316.6 kB / 0.6187 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5345, allocations: 0 / 0.6187 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.5346, allocations: 10.31 kB / 0.6187 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.5346, allocations: 16.03 kB / 0.6187 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.5352, allocations: 269.7 kB / 0.619 GB, free: 10.07 MB / 462.1 MB 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.002577/0.5378, allocations: 1.583 MB / 0.6205 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.5382, allocations: 197.9 kB / 0.6207 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.5384, allocations: 100.4 kB / 0.6208 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.5388, allocations: 421 kB / 0.6212 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.5389, allocations: 31.72 kB / 0.6212 GB, free: 8.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.5389, allocations: 0 / 0.6212 GB, free: 8.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008232/0.5397, allocations: 352.6 kB / 0.6216 GB, free: 7.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.5398, allocations: 54.31 kB / 0.6216 GB, free: 7.801 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.5406, allocations: 0.647 MB / 0.6222 GB, free: 7.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.5407, allocations: 35.64 kB / 0.6223 GB, free: 7.375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.5409, allocations: 299.3 kB / 0.6226 GB, free: 7.109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.541, allocations: 68.58 kB / 0.6226 GB, free: 7.051 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.5411, allocations: 49.78 kB / 0.6227 GB, free: 7.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5413, allocations: 377.2 kB / 0.623 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.5416, allocations: 132.1 kB / 0.6232 GB, free: 6.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.542, allocations: 214.6 kB / 0.6234 GB, free: 6.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.5426, allocations: 299.4 kB / 0.6237 GB, free: 6.273 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5426, allocations: 1.438 kB / 0.6237 GB, free: 6.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009024/0.5435, allocations: 462.3 kB / 0.6241 GB, free: 6.043 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/0.5436, allocations: 116.1 kB / 0.6242 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5436, allocations: 5.094 kB / 0.6242 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5436, allocations: 3.344 kB / 0.6242 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.5445, allocations: 141.7 kB / 0.6244 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007263/0.5452, allocations: 1.196 MB / 0.6255 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.5458, allocations: 76.98 kB / 0.6256 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.5458, allocations: 20.38 kB / 0.6256 GB, free: 4.609 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.5458, allocations: 3.812 kB / 0.6256 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007578/0.5466, allocations: 369.4 kB / 0.626 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5466, allocations: 1.375 kB / 0.626 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-06/0.5466, allocations: 3.688 kB / 0.626 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.5471, allocations: 114.2 kB / 0.6261 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5471, allocations: 4.219 kB / 0.6261 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.5476, allocations: 63.66 kB / 0.6261 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.5476, allocations: 19.98 kB / 0.6262 GB, free: 4.328 MB / 462.1 MB 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.0002725/0.5479, allocations: 265 kB / 0.6264 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.548, allocations: 63.19 kB / 0.6265 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.5487, allocations: 331 kB / 0.6268 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5487, allocations: 3.984 kB / 0.6268 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5487, allocations: 4 kB / 0.6268 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5487, allocations: 3.984 kB / 0.6268 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.5501, allocations: 0.9131 MB / 0.6277 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5501, allocations: 0 / 0.6277 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.5504, allocations: 64.02 kB / 0.6278 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5504, allocations: 4 kB / 0.6278 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.5504, allocations: 8 kB / 0.6278 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000618/0.5511, allocations: 1.18 MB / 0.6289 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.5511, allocations: 11.95 kB / 0.6289 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.5519, allocations: 0.5213 MB / 0.6294 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.5521, allocations: 184.1 kB / 0.6296 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.5522, allocations: 11.94 kB / 0.6296 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.5525, allocations: 32.03 kB / 0.6297 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.5526, allocations: 15.97 kB / 0.6297 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5526, allocations: 4 kB / 0.6297 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000558/0.5532, allocations: 455 kB / 0.6301 GB, free: 112 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5532, allocations: 4 kB / 0.6301 GB, free: 108 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008896/0.5541, allocations: 299.5 kB / 0.6304 GB, free: 15.81 MB / 478.1 MB 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.0005266/0.5546, allocations: 262.6 kB / 0.6307 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.556, allocations: 0.5313 MB / 0.6312 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.556, allocations: 4.25 kB / 0.6312 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.5564, allocations: 131.9 kB / 0.6313 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.5581, allocations: 292.8 kB / 0.6316 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.5599, allocations: 1.239 MB / 0.6328 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.5603, allocations: 0.8941 MB / 0.6337 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.5608, allocations: 124.6 kB / 0.6338 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.5609, allocations: 39.44 kB / 0.6338 GB, free: 12.26 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5609, allocations: 3.938 kB / 0.6338 GB, free: 12.26 MB / 478.1 MB Notification: Performance of Templates: time 0.02052/0.5815, allocations: 10.79 MB / 0.6444 GB, free: 1.645 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (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)