Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.5 kB / 16.41 MB, free: 6.492 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.001107/0.001108, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.48/0.6405, allocations: 112.6 MB / 0.7703 GB, free: 24.63 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02743/0.6679, allocations: 20.21 MB / 0.7901 GB, free: 22.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005258/0.6733, allocations: 105.6 kB / 0.7902 GB, free: 22.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.6774, allocations: 1.286 MB / 0.7914 GB, free: 22.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.6889, allocations: 3.676 MB / 0.795 GB, free: 20.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00854/0.6975, allocations: 3.113 MB / 0.7981 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.7079, allocations: 7.207 MB / 0.8051 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004538/0.7125, allocations: 2.582 MB / 0.8076 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007641/0.7202, allocations: 2.879 MB / 0.8104 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004578/0.7248, allocations: 2.13 MB / 0.8125 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.726, allocations: 253.5 kB / 0.8127 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/0.7312, allocations: 1.643 MB / 0.8144 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.7324, allocations: 0.6928 MB / 0.815 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003397/0.7359, allocations: 1.521 MB / 0.8165 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.7433, allocations: 4.4 MB / 0.8208 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.7433, allocations: 0 / 0.8208 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7433, allocations: 0 / 0.8208 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.932e-05/0.7434, allocations: 0 / 0.8208 GB, free: 6.676 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005425/0.7488, allocations: 3.227 MB / 0.824 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7489, allocations: 8.281 kB / 0.824 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.7497, allocations: 327.5 kB / 0.8243 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.7528, allocations: 2.204 MB / 0.8264 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.7529, allocations: 123 kB / 0.8266 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.753, allocations: 168 kB / 0.8267 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.7553, allocations: 1.604 MB / 0.8283 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.7554, allocations: 11.86 kB / 0.8283 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.7555, allocations: 70.75 kB / 0.8284 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.7556, allocations: 44 kB / 0.8284 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.7574, allocations: 1.143 MB / 0.8295 GB, free: 15.3 MB / 0.5919 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.01196/0.7694, allocations: 7.909 MB / 0.8372 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.7703, allocations: 481.9 kB / 0.8377 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.7708, allocations: 323 kB / 0.838 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.7716, allocations: 0.7554 MB / 0.8387 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.7717, allocations: 39.12 kB / 0.8388 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.156e-06/0.7717, allocations: 0 / 0.8388 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002258/0.774, allocations: 0.9958 MB / 0.8398 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.774, allocations: 59.97 kB / 0.8398 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/0.7774, allocations: 2.332 MB / 0.8421 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.7776, allocations: 45.7 kB / 0.8421 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009532/0.7785, allocations: 1.15 MB / 0.8433 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.7788, allocations: 211.8 kB / 0.8435 GB, free: 368 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/0.7792, allocations: 262.5 kB / 0.8437 GB, free: 96 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7793, allocations: 345.9 kB / 0.844 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007369/0.7801, allocations: 361.9 kB / 0.8444 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7812, allocations: 0.7424 MB / 0.8451 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.7827, allocations: 0.9863 MB / 0.8461 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.7827, allocations: 4 kB / 0.8461 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002714/0.7854, allocations: 1.295 MB / 0.8473 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7855, allocations: 8 kB / 0.8473 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.7855, allocations: 8 kB / 0.8474 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/0.7855, allocations: 12 kB / 0.8474 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7866, allocations: 259.6 kB / 0.8476 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/0.7866, allocations: 15.94 kB / 0.8476 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7884, allocations: 170.5 kB / 0.8478 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.7886, allocations: 55.98 kB / 0.8478 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001572/0.7901, allocations: 0.7563 MB / 0.8486 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/0.7913, allocations: 0.7386 MB / 0.8493 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.7927, allocations: 0.9486 MB / 0.8502 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.441e-06/0.7927, allocations: 4 kB / 0.8502 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002578/0.7953, allocations: 1.266 MB / 0.8515 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7953, allocations: 8 kB / 0.8515 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7953, allocations: 8 kB / 0.8515 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.7954, allocations: 19.98 kB / 0.8515 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/0.7963, allocations: 247.6 kB / 0.8517 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000113/0.7964, allocations: 20.47 kB / 0.8518 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.7981, allocations: 127.2 kB / 0.8519 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.7982, allocations: 59.92 kB / 0.8519 GB, free: 7.105 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.7986, allocations: 247.8 kB / 0.8522 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/0.7992, allocations: 237 kB / 0.8524 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.8011, allocations: 0.8791 MB / 0.8533 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.8012, allocations: 8 kB / 0.8533 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8012, allocations: 0 / 0.8533 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.8023, allocations: 0.6891 MB / 0.8539 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.8074, allocations: 2.583 MB / 0.8565 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.8074, allocations: 4 kB / 0.8565 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.808, allocations: 127.9 kB / 0.8566 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.808, allocations: 7.984 kB / 0.8566 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.8081, allocations: 12 kB / 0.8566 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.8081, allocations: 4 kB / 0.8566 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8081, allocations: 7.938 kB / 0.8566 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.8106, allocations: 1.309 MB / 0.8579 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.8119, allocations: 426 kB / 0.8583 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006459/0.8125, allocations: 12 kB / 0.8583 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.8139, allocations: 47.83 kB / 0.8584 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.814, allocations: 52.45 kB / 0.8584 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/0.8141, allocations: 31.97 kB / 0.8584 GB, free: 296 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00286/0.817, allocations: 1.566 MB / 0.86 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.817, allocations: 0 / 0.86 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003736/0.8207, allocations: 1.107 MB / 0.8611 GB, free: 13.61 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/0.8226, allocations: 0.7585 MB / 0.8618 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.8254, allocations: 1.358 MB / 0.8631 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8254, allocations: 0 / 0.8631 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.826, allocations: 331 kB / 0.8634 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/0.8329, allocations: 1.385 MB / 0.8648 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.8404, allocations: 3.726 MB / 0.8684 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/0.8422, allocations: 1.586 MB / 0.87 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.843, allocations: 175.4 kB / 0.8701 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.843, allocations: 0 / 0.8701 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of Templates: time 0.06288/0.9059, allocations: 39.8 MB / 0.909 GB, free: 12.89 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)