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.001374/0.001374, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001428/0.001428, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.91 kB / 0.5019 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3857, allocations: 80.19 MB / 0.5802 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09478/0.4806, allocations: 111.6 MB / 0.6892 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.5095, allocations: 20.07 MB / 0.7089 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004854/0.5144, allocations: 99.31 kB / 0.7089 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004445/0.5188, allocations: 1.1 MB / 0.71 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.5295, allocations: 3.426 MB / 0.7134 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.5369, allocations: 2.873 MB / 0.7162 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.5472, allocations: 7.237 MB / 0.7232 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004166/0.5514, allocations: 2.537 MB / 0.7257 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007418/0.5589, allocations: 2.831 MB / 0.7285 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.5631, allocations: 2.194 MB / 0.7306 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009283/0.564, allocations: 256 kB / 0.7309 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.5684, allocations: 1.653 MB / 0.7325 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009954/0.5694, allocations: 0.6928 MB / 0.7332 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.5718, allocations: 1.508 MB / 0.7346 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.5766, allocations: 3.453 MB / 0.738 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5766, allocations: 4 kB / 0.738 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5766, allocations: 0 / 0.738 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001035/0.5767, allocations: 0 / 0.738 GB, free: 12.45 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.006153/0.5829, allocations: 3.23 MB / 0.7412 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5829, allocations: 8.031 kB / 0.7412 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008107/0.5838, allocations: 320.3 kB / 0.7415 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.5871, allocations: 2.155 MB / 0.7436 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-05/0.5872, allocations: 127 kB / 0.7437 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.5875, allocations: 164 kB / 0.7439 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.5901, allocations: 1.616 MB / 0.7454 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.5901, allocations: 3.984 kB / 0.7454 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.5902, allocations: 67.94 kB / 0.7455 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.5903, allocations: 36 kB / 0.7455 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5922, allocations: 1.151 MB / 0.7467 GB, free: 3.379 MB / 0.5762 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.3187/0.9108, allocations: 7.882 MB / 0.7544 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.9117, allocations: 473.9 kB / 0.7548 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.9123, allocations: 322.3 kB / 0.7551 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.9127, allocations: 0.7535 MB / 0.7559 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.9128, allocations: 42.94 kB / 0.7559 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.506e-06/0.9128, allocations: 1 kB / 0.7559 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.00239/0.9152, allocations: 0.9905 MB / 0.7569 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.9152, allocations: 59.59 kB / 0.7569 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.9192, allocations: 2.309 MB / 0.7592 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.9194, allocations: 51.95 kB / 0.7592 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/0.9202, allocations: 1.156 MB / 0.7604 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.9204, allocations: 212.5 kB / 0.7606 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.9208, allocations: 259 kB / 0.7608 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.9208, allocations: 344.5 kB / 0.7611 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.9214, allocations: 358.4 kB / 0.7615 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.9223, allocations: 0.7502 MB / 0.7622 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.9236, allocations: 0.9845 MB / 0.7632 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.9236, allocations: 4.719 kB / 0.7632 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002388/0.926, allocations: 1.289 MB / 0.7644 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.926, allocations: 13.34 kB / 0.7644 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.926, allocations: 8.094 kB / 0.7645 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.9261, allocations: 14.78 kB / 0.7645 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/0.927, allocations: 258.2 kB / 0.7647 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.9271, allocations: 21.98 kB / 0.7647 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.9291, allocations: 245.9 kB / 0.765 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.9292, allocations: 56.23 kB / 0.765 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.9305, allocations: 0.759 MB / 0.7658 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007675/0.9313, allocations: 0.7341 MB / 0.7665 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001173/0.9325, allocations: 0.9559 MB / 0.7674 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.274e-06/0.9325, allocations: 5.484 kB / 0.7674 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002144/0.9347, allocations: 1.25 MB / 0.7686 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9347, allocations: 7.844 kB / 0.7686 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.9347, allocations: 9.844 kB / 0.7687 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9347, allocations: 19.56 kB / 0.7687 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.9355, allocations: 248.7 kB / 0.7689 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.9356, allocations: 23.77 kB / 0.7689 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.9374, allocations: 194.2 kB / 0.7691 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.9375, allocations: 55.52 kB / 0.7692 GB, free: 147.7 MB / 0.5762 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.0002995/0.9378, allocations: 247.7 kB / 0.7694 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.9382, allocations: 239.1 kB / 0.7696 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.9397, allocations: 0.8863 MB / 0.7705 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.9398, allocations: 3.938 kB / 0.7705 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9398, allocations: 7.406 kB / 0.7705 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007966/0.9406, allocations: 0.6886 MB / 0.7712 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.944, allocations: 2.564 MB / 0.7737 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.944, allocations: 3.906 kB / 0.7737 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.9445, allocations: 129.1 kB / 0.7738 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.9445, allocations: 3.938 kB / 0.7738 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.9446, allocations: 16.92 kB / 0.7738 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9446, allocations: 0 / 0.7738 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9446, allocations: 7.844 kB / 0.7738 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.9462, allocations: 1.323 MB / 0.7751 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/0.9469, allocations: 408.9 kB / 0.7755 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.9471, allocations: 11.75 kB / 0.7755 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.9482, allocations: 117.7 kB / 0.7756 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.9483, allocations: 45.38 kB / 0.7757 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.9484, allocations: 29.36 kB / 0.7757 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001791/0.9502, allocations: 1.554 MB / 0.7772 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9502, allocations: 0 / 0.7772 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002361/0.9525, allocations: 1.106 MB / 0.7783 GB, free: 141.8 MB / 0.5762 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.001431/0.954, allocations: 0.7248 MB / 0.779 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.9564, allocations: 1.447 MB / 0.7804 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9564, allocations: 4 kB / 0.7804 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.9568, allocations: 320.8 kB / 0.7807 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/0.9622, allocations: 1.387 MB / 0.7821 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.9673, allocations: 4.604 MB / 0.7866 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.9681, allocations: 1.586 MB / 0.7881 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.9687, allocations: 175.4 kB / 0.7883 GB, free: 132 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.9687, allocations: 0 / 0.7883 GB, free: 132 MB / 0.5762 GB Notification: Performance of Templates: time 0.04577/1.014, allocations: 39.21 MB / 0.8266 GB, free: 93.11 MB / 0.5762 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)