Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007691/0.0007692, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008559/0.0008561, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9559/0.9559, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 12.66 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1617, allocations: 82.32 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3611/0.5228, allocations: 110.1 MB / 0.6962 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02854/0.5514, allocations: 20.09 MB / 0.7158 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/0.5554, allocations: 95.47 kB / 0.7159 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.5587, allocations: 1.039 MB / 0.7169 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.5688, allocations: 3.378 MB / 0.7202 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007371/0.5762, allocations: 2.86 MB / 0.723 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.5879, allocations: 9.516 MB / 0.7323 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.5912, allocations: 2.066 MB / 0.7343 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.5961, allocations: 2.325 MB / 0.7366 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.5991, allocations: 2.04 MB / 0.7385 GB, free: 2.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.5994, allocations: 93.81 kB / 0.7386 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.6028, allocations: 1.44 MB / 0.74 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.6033, allocations: 0.5248 MB / 0.7406 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.6048, allocations: 1.326 MB / 0.7419 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.6081, allocations: 3.323 MB / 0.7451 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6081, allocations: 0 / 0.7451 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6082, allocations: 0 / 0.7451 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.459e-05/0.6082, allocations: 0 / 0.7451 GB, free: 12.03 MB / 0.5606 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.004176/0.6124, allocations: 2.692 MB / 0.7477 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6124, allocations: 8.031 kB / 0.7477 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006105/0.613, allocations: 328.2 kB / 0.748 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.6162, allocations: 2.154 MB / 0.7502 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.056e-05/0.6163, allocations: 127 kB / 0.7503 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.6166, allocations: 171.9 kB / 0.7504 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.6192, allocations: 1.612 MB / 0.752 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.6193, allocations: 3.938 kB / 0.752 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.6194, allocations: 67.98 kB / 0.7521 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.6195, allocations: 47.92 kB / 0.7521 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.6215, allocations: 1.159 MB / 0.7533 GB, free: 3.469 MB / 0.5606 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.009244/0.6307, allocations: 7.897 MB / 0.761 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/0.6315, allocations: 489.9 kB / 0.7614 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.632, allocations: 323 kB / 0.7617 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.6326, allocations: 0.7602 MB / 0.7625 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.6326, allocations: 43.12 kB / 0.7625 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/0.6326, allocations: 0 / 0.7625 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001738/0.6343, allocations: 1.008 MB / 0.7635 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.6344, allocations: 59.97 kB / 0.7636 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.6372, allocations: 2.312 MB / 0.7658 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.6373, allocations: 49.7 kB / 0.7659 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/0.6382, allocations: 1.145 MB / 0.767 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.6384, allocations: 216.9 kB / 0.7672 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6385, allocations: 109.6 kB / 0.7673 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6386, allocations: 345.9 kB / 0.7676 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.6393, allocations: 366.4 kB / 0.768 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008879/0.6402, allocations: 0.7463 MB / 0.7687 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.6415, allocations: 0.9863 MB / 0.7697 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.6415, allocations: 11.94 kB / 0.7697 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002074/0.6436, allocations: 1.303 MB / 0.771 GB, free: 312 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.6438, allocations: 346.9 kB / 0.7713 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6439, allocations: 8 kB / 0.7713 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6439, allocations: 15.94 kB / 0.7713 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/0.6448, allocations: 251.6 kB / 0.7716 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.6449, allocations: 19.92 kB / 0.7716 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.6465, allocations: 258.1 kB / 0.7718 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.6466, allocations: 51.98 kB / 0.7719 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.6466, allocations: 7.938 kB / 0.7719 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00167/0.6483, allocations: 1.031 MB / 0.7729 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6483, allocations: 8 kB / 0.7729 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6483, allocations: 12 kB / 0.7729 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/0.6492, allocations: 252.1 kB / 0.7731 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.6492, allocations: 23.92 kB / 0.7732 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6506, allocations: 222.5 kB / 0.7734 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.6507, allocations: 51.98 kB / 0.7734 GB, free: 13.66 MB / 0.5919 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.0008597/0.6516, allocations: 0.5788 MB / 0.774 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.6518, allocations: 237 kB / 0.7742 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.6534, allocations: 0.899 MB / 0.7751 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6534, allocations: 8 kB / 0.7751 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6534, allocations: 0 / 0.7751 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009803/0.6544, allocations: 0.7009 MB / 0.7758 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.658, allocations: 2.582 MB / 0.7783 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.658, allocations: 0 / 0.7783 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.6585, allocations: 131.8 kB / 0.7784 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.6585, allocations: 4 kB / 0.7784 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.6586, allocations: 16 kB / 0.7785 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6586, allocations: 8.031 kB / 0.7785 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6586, allocations: 4 kB / 0.7785 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6604, allocations: 1.329 MB / 0.7798 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.6611, allocations: 453.8 kB / 0.7802 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.6613, allocations: 12 kB / 0.7802 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.6624, allocations: 119.6 kB / 0.7803 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.6625, allocations: 52.81 kB / 0.7804 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.6626, allocations: 35.97 kB / 0.7804 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001998/0.6646, allocations: 1.546 MB / 0.7819 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6646, allocations: 0 / 0.7819 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002395/0.667, allocations: 1.103 MB / 0.783 GB, free: 3.68 MB / 0.5919 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.001497/0.6685, allocations: 0.7257 MB / 0.7837 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.6707, allocations: 1.373 MB / 0.785 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6708, allocations: 0 / 0.785 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.6713, allocations: 335 kB / 0.7854 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/0.6779, allocations: 1.379 MB / 0.7867 GB, free: 48 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/0.6838, allocations: 4.675 MB / 0.7913 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.6849, allocations: 1.586 MB / 0.7928 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.6854, allocations: 179.4 kB / 0.793 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.6854, allocations: 0 / 0.793 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.05242/0.7378, allocations: 39.15 MB / 0.8312 GB, free: 2.645 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)