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.001245/0.001245, allocations: 103.2 kB / 16.35 MB, free: 5.824 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.001347/0.001347, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7291/0.7291, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 80.9 MB / 0.5858 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01455/0.3223, allocations: 22.32 MB / 0.6076 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.3274, allocations: 5.231 MB / 0.6127 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004299/0.3279, allocations: 23.81 kB / 0.6127 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.3285, allocations: 313.8 kB / 0.613 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.3303, allocations: 0.8716 MB / 0.6138 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3318, allocations: 0.7197 MB / 0.6145 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.3332, allocations: 1.487 MB / 0.616 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005824/0.3338, allocations: 0.524 MB / 0.6165 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.3347, allocations: 0.6342 MB / 0.6171 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.3352, allocations: 481.8 kB / 0.6176 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.3353, allocations: 52 kB / 0.6176 GB, free: 9.891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009555/0.3363, allocations: 0.6317 MB / 0.6182 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3364, allocations: 155.3 kB / 0.6184 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.3367, allocations: 362.1 kB / 0.6187 GB, free: 8.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.3378, allocations: 1.067 MB / 0.6198 GB, free: 7.684 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3378, allocations: 3.938 kB / 0.6198 GB, free: 7.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3378, allocations: 3.984 kB / 0.6198 GB, free: 7.676 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.3379, allocations: 3.938 kB / 0.6198 GB, free: 7.672 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.001572/0.3394, allocations: 1.049 MB / 0.6208 GB, free: 6.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3395, allocations: 17.09 kB / 0.6208 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.3396, allocations: 80 kB / 0.6209 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.3404, allocations: 0.57 MB / 0.6215 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3405, allocations: 28.66 kB / 0.6215 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3405, allocations: 40 kB / 0.6215 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.341, allocations: 314 kB / 0.6218 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3411, allocations: 0 / 0.6218 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3411, allocations: 12 kB / 0.6218 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.3411, allocations: 16.64 kB / 0.6219 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.3416, allocations: 250.5 kB / 0.6221 GB, free: 5.219 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.002228/0.3438, allocations: 1.576 MB / 0.6236 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3442, allocations: 186.4 kB / 0.6238 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3444, allocations: 96.8 kB / 0.6239 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.3447, allocations: 417.5 kB / 0.6243 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3447, allocations: 34.56 kB / 0.6243 GB, free: 2.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.3447, allocations: 0 / 0.6243 GB, free: 2.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.000717/0.3455, allocations: 325 kB / 0.6246 GB, free: 2.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3455, allocations: 63.39 kB / 0.6247 GB, free: 2.285 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.3462, allocations: 0.641 MB / 0.6253 GB, free: 1.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3463, allocations: 33.7 kB / 0.6254 GB, free: 1.594 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.3465, allocations: 308.4 kB / 0.6257 GB, free: 1.285 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.3466, allocations: 67.05 kB / 0.6257 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.3467, allocations: 102 kB / 0.6258 GB, free: 1.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3469, allocations: 374.7 kB / 0.6262 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.3472, allocations: 142.5 kB / 0.6263 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.3475, allocations: 206.3 kB / 0.6265 GB, free: 384 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.348, allocations: 301 kB / 0.6268 GB, free: 64 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.348, allocations: 0 / 0.6268 GB, free: 64 kB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007523/0.3487, allocations: 448.7 kB / 0.6272 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3488, allocations: 6.188 kB / 0.6272 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3488, allocations: 0 / 0.6272 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3488, allocations: 8.062 kB / 0.6272 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.3496, allocations: 139.8 kB / 0.6274 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006327/0.3502, allocations: 1.191 MB / 0.6285 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.3506, allocations: 55.53 kB / 0.6286 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.3507, allocations: 16 kB / 0.6286 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003841/0.3511, allocations: 280.9 kB / 0.6289 GB, free: 13.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003022/0.3514, allocations: 202.4 kB / 0.6291 GB, free: 13.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004552/0.3518, allocations: 289.4 kB / 0.6293 GB, free: 13.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3518, allocations: 0 / 0.6293 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007353/0.3526, allocations: 440.6 kB / 0.6298 GB, free: 12.92 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.3526, allocations: 4 kB / 0.6298 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3526, allocations: 4.125 kB / 0.6298 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.3526, allocations: 4 kB / 0.6298 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.3531, allocations: 115.8 kB / 0.6299 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3531, allocations: 0 / 0.6299 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3535, allocations: 39.88 kB / 0.6299 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3535, allocations: 16 kB / 0.6299 GB, free: 12.74 MB / 478.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.0001414/0.3537, allocations: 208.8 kB / 0.6301 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.3538, allocations: 63.16 kB / 0.6302 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.3544, allocations: 324.7 kB / 0.6305 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3544, allocations: 0 / 0.6305 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3545, allocations: 0 / 0.6305 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3545, allocations: 0 / 0.6305 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3557, allocations: 0.9097 MB / 0.6314 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3557, allocations: 4 kB / 0.6314 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.356, allocations: 55.91 kB / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.356, allocations: 0 / 0.6315 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.356, allocations: 19.86 kB / 0.6315 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005284/0.3566, allocations: 1.18 MB / 0.6326 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3566, allocations: 3.984 kB / 0.6326 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.3573, allocations: 0.5136 MB / 0.6331 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3575, allocations: 172.1 kB / 0.6333 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.3576, allocations: 8 kB / 0.6333 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.3579, allocations: 15.98 kB / 0.6333 GB, free: 9.113 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3579, allocations: 23.91 kB / 0.6333 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.358, allocations: 8 kB / 0.6333 GB, free: 9.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.3585, allocations: 451.1 kB / 0.6338 GB, free: 8.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3585, allocations: 0 / 0.6338 GB, free: 8.645 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008604/0.3594, allocations: 303.5 kB / 0.6341 GB, free: 8.348 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.0004832/0.3599, allocations: 243.1 kB / 0.6343 GB, free: 8.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.3611, allocations: 0.5245 MB / 0.6348 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3612, allocations: 0 / 0.6348 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.3615, allocations: 130.5 kB / 0.6349 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3626, allocations: 275.5 kB / 0.6352 GB, free: 7.207 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3641, allocations: 1.005 MB / 0.6362 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.3645, allocations: 0.8902 MB / 0.637 GB, free: 5.242 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.3649, allocations: 127.7 kB / 0.6372 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.712e-05/0.365, allocations: 43.42 kB / 0.6372 GB, free: 5.074 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.365, allocations: 0 / 0.6372 GB, free: 5.074 MB / 478.1 MB Notification: Performance of Templates: time 0.01747/0.3824, allocations: 11.15 MB / 0.6481 GB, free: 10.11 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)