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.01006/0.01006, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001932/0.001932, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001525, allocations: 62.52 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1745, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5356/0.7102, allocations: 112.6 MB / 0.7697 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03181/0.7421, allocations: 20.22 MB / 0.7894 GB, free: 22.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00688/0.749, allocations: 106.1 kB / 0.7895 GB, free: 22.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004449/0.7535, allocations: 1.305 MB / 0.7908 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.7651, allocations: 3.867 MB / 0.7946 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008553/0.7736, allocations: 3.115 MB / 0.7976 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.7845, allocations: 7.228 MB / 0.8047 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.7888, allocations: 2.581 MB / 0.8072 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007109/0.7959, allocations: 2.886 MB / 0.81 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004774/0.8007, allocations: 2.131 MB / 0.8121 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.8019, allocations: 253.5 kB / 0.8123 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/0.8077, allocations: 1.648 MB / 0.8139 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.8089, allocations: 0.6902 MB / 0.8146 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.8121, allocations: 1.511 MB / 0.8161 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007063/0.8192, allocations: 4.407 MB / 0.8204 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.8193, allocations: 0 / 0.8204 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8193, allocations: 0 / 0.8204 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001458/0.8194, allocations: 0 / 0.8204 GB, free: 6.543 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.006265/0.8257, allocations: 3.227 MB / 0.8235 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.8257, allocations: 9.469 kB / 0.8236 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008812/0.8266, allocations: 327.5 kB / 0.8239 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.8299, allocations: 2.202 MB / 0.826 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.8299, allocations: 123 kB / 0.8261 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.8301, allocations: 164 kB / 0.8263 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.8323, allocations: 1.615 MB / 0.8279 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.8324, allocations: 0 / 0.8279 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.8325, allocations: 67.94 kB / 0.8279 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.8325, allocations: 43.94 kB / 0.828 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.8346, allocations: 1.147 MB / 0.8291 GB, free: 15.05 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.01183/0.8464, allocations: 7.916 MB / 0.8368 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.8473, allocations: 473.9 kB / 0.8373 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.8478, allocations: 330.9 kB / 0.8376 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.8486, allocations: 0.7489 MB / 0.8383 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.8486, allocations: 43.12 kB / 0.8384 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.415e-06/0.8486, allocations: 0 / 0.8384 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002365/0.851, allocations: 0.9881 MB / 0.8393 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.8511, allocations: 59.97 kB / 0.8394 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.8542, allocations: 2.332 MB / 0.8417 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.8544, allocations: 49.7 kB / 0.8417 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.8554, allocations: 1.156 MB / 0.8428 GB, free: 320 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.8556, allocations: 206 kB / 0.843 GB, free: 116 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003786/0.856, allocations: 258.5 kB / 0.8433 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8562, allocations: 349.9 kB / 0.8436 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.8568, allocations: 365.9 kB / 0.844 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.8579, allocations: 0.7424 MB / 0.8447 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.8595, allocations: 0.9901 MB / 0.8457 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.8595, allocations: 4 kB / 0.8457 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002562/0.8621, allocations: 1.288 MB / 0.8469 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.8621, allocations: 8 kB / 0.8469 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8622, allocations: 8 kB / 0.8469 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.8622, allocations: 19.98 kB / 0.847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.8632, allocations: 251.6 kB / 0.8472 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.8632, allocations: 12 kB / 0.8472 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.8647, allocations: 182.3 kB / 0.8474 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.8648, allocations: 51.98 kB / 0.8474 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/0.8662, allocations: 0.7602 MB / 0.8482 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.8672, allocations: 0.7347 MB / 0.8489 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/0.8686, allocations: 0.9524 MB / 0.8498 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.8686, allocations: 0 / 0.8498 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002173/0.8708, allocations: 1.27 MB / 0.8511 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8708, allocations: 8 kB / 0.8511 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.8708, allocations: 8 kB / 0.8511 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8708, allocations: 16 kB / 0.8511 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.8717, allocations: 251.6 kB / 0.8513 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.8718, allocations: 15.94 kB / 0.8513 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.8732, allocations: 127.6 kB / 0.8515 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/0.8733, allocations: 51.98 kB / 0.8515 GB, free: 6.863 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.0002889/0.8736, allocations: 251.9 kB / 0.8518 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.8739, allocations: 237 kB / 0.852 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.8756, allocations: 0.8806 MB / 0.8528 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.8757, allocations: 7.984 kB / 0.8528 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8757, allocations: 8 kB / 0.8529 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009473/0.8766, allocations: 0.6814 MB / 0.8535 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.8803, allocations: 2.586 MB / 0.856 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8803, allocations: 0 / 0.856 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.8809, allocations: 127.8 kB / 0.8562 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.8809, allocations: 8.094 kB / 0.8562 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.8809, allocations: 16 kB / 0.8562 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.8809, allocations: 4 kB / 0.8562 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8809, allocations: 7.922 kB / 0.8562 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.8828, allocations: 1.313 MB / 0.8575 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/0.8835, allocations: 414 kB / 0.8579 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.8837, allocations: 12 kB / 0.8579 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008443/0.8845, allocations: 51.83 kB / 0.8579 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.8846, allocations: 48.44 kB / 0.858 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.8847, allocations: 35.92 kB / 0.858 GB, free: 40 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001982/0.8867, allocations: 1.563 MB / 0.8595 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8867, allocations: 0 / 0.8595 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002471/0.8892, allocations: 1.115 MB / 0.8606 GB, free: 13.36 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.001503/0.8907, allocations: 0.7501 MB / 0.8614 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.8929, allocations: 1.365 MB / 0.8627 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8929, allocations: 0 / 0.8627 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.8934, allocations: 323 kB / 0.863 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/0.8982, allocations: 1.387 MB / 0.8644 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.9034, allocations: 3.666 MB / 0.8679 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.9045, allocations: 1.594 MB / 0.8695 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001687/0.9062, allocations: 494.6 kB / 0.87 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.9065, allocations: 167.4 kB / 0.8701 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.9065, allocations: 0 / 0.8701 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.07075/0.9773, allocations: 44.72 MB / 0.9138 GB, free: 7.582 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)