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.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00125/0.00125, allocations: 194 kB / 16.14 MB, free: 6.648 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.071/1.071, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.67 kB / 0.5047 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1991, allocations: 80.92 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.3582/0.5573, allocations: 22.21 MB / 0.6054 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006633/0.564, allocations: 5.256 MB / 0.6105 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.5649, allocations: 27.62 kB / 0.6106 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.5658, allocations: 252.7 kB / 0.6108 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.568, allocations: 0.7951 MB / 0.6116 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.5697, allocations: 0.6493 MB / 0.6122 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.5717, allocations: 1.881 MB / 0.614 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.5722, allocations: 447.2 kB / 0.6145 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.5732, allocations: 0.5576 MB / 0.615 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005093/0.5737, allocations: 483.1 kB / 0.6155 GB, free: 35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.5738, allocations: 28.84 kB / 0.6155 GB, free: 35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.575, allocations: 0.585 MB / 0.6161 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.5752, allocations: 123.6 kB / 0.6162 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.5755, allocations: 339.9 kB / 0.6165 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.5767, allocations: 1.024 MB / 0.6175 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5767, allocations: 0 / 0.6175 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5767, allocations: 0 / 0.6175 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.5767, allocations: 7.938 kB / 0.6175 GB, free: 34.64 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.001604/0.5783, allocations: 1.052 MB / 0.6186 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5784, allocations: 12.78 kB / 0.6186 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.5785, allocations: 82.97 kB / 0.6186 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.5792, allocations: 0.5422 MB / 0.6192 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.5792, allocations: 35.59 kB / 0.6192 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.5793, allocations: 36.91 kB / 0.6192 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.5798, allocations: 310 kB / 0.6195 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5798, allocations: 0 / 0.6195 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.5799, allocations: 14.84 kB / 0.6196 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.5799, allocations: 20.11 kB / 0.6196 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.5804, allocations: 256.1 kB / 0.6198 GB, free: 33.5 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.002069/0.5825, allocations: 1.571 MB / 0.6214 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.5828, allocations: 190.8 kB / 0.6215 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.583, allocations: 91.56 kB / 0.6216 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.5833, allocations: 420.3 kB / 0.622 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.5833, allocations: 38.17 kB / 0.6221 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.5834, allocations: 0 / 0.6221 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0007256/0.5841, allocations: 327.2 kB / 0.6224 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.5841, allocations: 57.53 kB / 0.6224 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.5848, allocations: 0.6441 MB / 0.6231 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.5849, allocations: 35.95 kB / 0.6231 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.5851, allocations: 303.9 kB / 0.6234 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.5851, allocations: 64.92 kB / 0.6234 GB, free: 31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5853, allocations: 110.8 kB / 0.6235 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.5854, allocations: 373.5 kB / 0.6239 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.5857, allocations: 138.9 kB / 0.624 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.586, allocations: 214.5 kB / 0.6242 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.5865, allocations: 288.2 kB / 0.6245 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5865, allocations: 0 / 0.6245 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007449/0.5872, allocations: 451 kB / 0.6249 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5873, allocations: 5.625 kB / 0.625 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5873, allocations: 0 / 0.625 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5873, allocations: 5.188 kB / 0.625 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/0.5881, allocations: 140.6 kB / 0.6251 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004606/0.5885, allocations: 1.189 MB / 0.6263 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.5891, allocations: 69.06 kB / 0.6263 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.5891, allocations: 16.12 kB / 0.6263 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004001/0.5895, allocations: 274.3 kB / 0.6266 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002825/0.5898, allocations: 201.4 kB / 0.6268 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004166/0.5902, allocations: 286.9 kB / 0.6271 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.5902, allocations: 0 / 0.6271 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007224/0.591, allocations: 438.5 kB / 0.6275 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.591, allocations: 9 kB / 0.6275 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.591, allocations: 2.594 kB / 0.6275 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.591, allocations: 2.531 kB / 0.6275 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.5915, allocations: 111.7 kB / 0.6276 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5915, allocations: 3.062 kB / 0.6276 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.5919, allocations: 51.7 kB / 0.6277 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.5919, allocations: 19.11 kB / 0.6277 GB, free: 28.21 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.0001143/0.5921, allocations: 201 kB / 0.6279 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.5922, allocations: 66.31 kB / 0.6279 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.5928, allocations: 320.1 kB / 0.6282 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5928, allocations: 3.328 kB / 0.6282 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5929, allocations: 0 / 0.6282 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5929, allocations: 3.219 kB / 0.6282 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.594, allocations: 0.9117 MB / 0.6291 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.594, allocations: 2.969 kB / 0.6291 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.5943, allocations: 55 kB / 0.6292 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5943, allocations: 2.625 kB / 0.6292 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.5943, allocations: 9.625 kB / 0.6292 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003452/0.5947, allocations: 1.188 MB / 0.6304 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5947, allocations: 0 / 0.6304 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.5954, allocations: 0.5087 MB / 0.6308 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5955, allocations: 174.8 kB / 0.631 GB, free: 25.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.5956, allocations: 9.562 kB / 0.631 GB, free: 25.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.5959, allocations: 29.22 kB / 0.6311 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.596, allocations: 21.17 kB / 0.6311 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.596, allocations: 6.312 kB / 0.6311 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004934/0.5965, allocations: 454.5 kB / 0.6315 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5965, allocations: 0 / 0.6315 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008227/0.5974, allocations: 294.8 kB / 0.6318 GB, free: 25.34 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.0005127/0.5979, allocations: 260.4 kB / 0.632 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.5991, allocations: 0.5228 MB / 0.6326 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5991, allocations: 0 / 0.6326 GB, free: 25.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.5994, allocations: 134.5 kB / 0.6327 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.6009, allocations: 286.1 kB / 0.633 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.6026, allocations: 1.218 MB / 0.6341 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.603, allocations: 0.892 MB / 0.635 GB, free: 23.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004872/0.6035, allocations: 122.8 kB / 0.6351 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6036, allocations: 49.5 kB / 0.6352 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.6036, allocations: 0 / 0.6352 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.02722/0.6308, allocations: 10.85 MB / 0.6458 GB, free: 22.6 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)