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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6899/0.6899, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 403.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 105.5 kB / 484.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 47.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3581/0.4848, allocations: 111.9 MB / 0.7495 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.511, allocations: 20.3 MB / 0.7693 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/0.5148, allocations: 98.31 kB / 0.7694 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.5179, allocations: 1.049 MB / 0.7704 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.009016/0.5269, allocations: 3.362 MB / 0.7737 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.534, allocations: 2.844 MB / 0.7765 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01049/0.5445, allocations: 9.569 MB / 0.7858 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.548, allocations: 2.144 MB / 0.7879 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/0.5535, allocations: 2.419 MB / 0.7903 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.5574, allocations: 2.127 MB / 0.7923 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007322/0.5581, allocations: 124 kB / 0.7925 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.5624, allocations: 1.478 MB / 0.7939 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0009165/0.5633, allocations: 0.56 MB / 0.7944 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002266/0.5656, allocations: 1.368 MB / 0.7958 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.5707, allocations: 4.249 MB / 0.7999 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5707, allocations: 0 / 0.7999 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5707, allocations: 0 / 0.7999 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.624e-05/0.5708, allocations: 4 kB / 0.7999 GB, free: 4.152 MB / 0.5261 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.005021/0.5758, allocations: 3.222 MB / 0.8031 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5759, allocations: 12.03 kB / 0.8031 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.5766, allocations: 328.3 kB / 0.8034 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.5801, allocations: 2.154 MB / 0.8055 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.5802, allocations: 127 kB / 0.8056 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.5804, allocations: 175.9 kB / 0.8058 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.5828, allocations: 1.608 MB / 0.8074 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.5829, allocations: 4 kB / 0.8074 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.583, allocations: 60 kB / 0.8074 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.5831, allocations: 47.92 kB / 0.8075 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.585, allocations: 1.143 MB / 0.8086 GB, free: 11.07 MB / 0.5417 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.009723/0.5947, allocations: 7.885 MB / 0.8163 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.5955, allocations: 477.8 kB / 0.8167 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.596, allocations: 327 kB / 0.8171 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/0.5966, allocations: 0.7563 MB / 0.8178 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.5967, allocations: 43.06 kB / 0.8178 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/0.5967, allocations: 0 / 0.8178 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60): time 0.001849/0.5985, allocations: 0.9881 MB / 0.8188 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.5986, allocations: 59.97 kB / 0.8189 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.6013, allocations: 2.312 MB / 0.8211 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.6014, allocations: 49.7 kB / 0.8212 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008347/0.6022, allocations: 1.149 MB / 0.8223 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.6024, allocations: 213 kB / 0.8225 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.6028, allocations: 258.5 kB / 0.8227 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6029, allocations: 353.9 kB / 0.8231 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.6036, allocations: 361.9 kB / 0.8234 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6046, allocations: 0.7402 MB / 0.8241 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.6061, allocations: 0.9863 MB / 0.8251 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.6061, allocations: 7.938 kB / 0.8251 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002238/0.6084, allocations: 1.292 MB / 0.8264 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6084, allocations: 8 kB / 0.8264 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6084, allocations: 8 kB / 0.8264 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.6085, allocations: 16 kB / 0.8264 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.6094, allocations: 255.5 kB / 0.8266 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.6094, allocations: 12 kB / 0.8267 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.6111, allocations: 258.3 kB / 0.8269 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/0.6112, allocations: 51.98 kB / 0.827 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001287/0.6125, allocations: 0.7641 MB / 0.8277 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009068/0.6134, allocations: 0.7349 MB / 0.8284 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/0.6147, allocations: 0.9485 MB / 0.8293 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.6147, allocations: 8 kB / 0.8294 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002193/0.6169, allocations: 1.262 MB / 0.8306 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.617, allocations: 8 kB / 0.8306 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.617, allocations: 8.844 kB / 0.8306 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.617, allocations: 15.94 kB / 0.8306 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.6179, allocations: 255.6 kB / 0.8309 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/0.6179, allocations: 19.94 kB / 0.8309 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.6195, allocations: 191 kB / 0.8311 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.6196, allocations: 47.98 kB / 0.8311 GB, free: 2.672 MB / 0.5573 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.0002936/0.6199, allocations: 253.2 kB / 0.8313 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.6203, allocations: 233.1 kB / 0.8316 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.6222, allocations: 0.8896 MB / 0.8324 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.6222, allocations: 8 kB / 0.8324 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6222, allocations: 0 / 0.8324 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009975/0.6232, allocations: 0.6814 MB / 0.8331 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.6271, allocations: 2.57 MB / 0.8356 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6271, allocations: 0 / 0.8356 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.6276, allocations: 127.8 kB / 0.8357 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6277, allocations: 4 kB / 0.8357 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.6277, allocations: 23.92 kB / 0.8358 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.6277, allocations: 4 kB / 0.8358 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6277, allocations: 0 / 0.8358 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/0.6454, allocations: 9.459 MB / 0.845 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.646, allocations: 421.9 kB / 0.8454 GB, free: 3.562 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.6463, allocations: 15.94 kB / 0.8454 GB, free: 3.547 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6473, allocations: 115.7 kB / 0.8455 GB, free: 3.434 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.6474, allocations: 36.52 kB / 0.8456 GB, free: 3.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.6475, allocations: 35.97 kB / 0.8456 GB, free: 3.363 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002059/0.6495, allocations: 1.546 MB / 0.8471 GB, free: 1.812 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6496, allocations: 0 / 0.8471 GB, free: 1.812 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004521/0.6541, allocations: 1.732 MB / 0.8488 GB, free: 80 kB / 0.573 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.001577/0.6557, allocations: 0.7568 MB / 0.8495 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.6581, allocations: 1.352 MB / 0.8509 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6582, allocations: 8 kB / 0.8509 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.6587, allocations: 323 kB / 0.8512 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006234/0.6649, allocations: 1.384 MB / 0.8525 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.6711, allocations: 4.966 MB / 0.8574 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.6724, allocations: 1.609 MB / 0.859 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002253/0.6747, allocations: 0.5026 MB / 0.8594 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.6751, allocations: 179.4 kB / 0.8596 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.6751, allocations: 0 / 0.8596 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.07211/0.7472, allocations: 48 MB / 0.9065 GB, free: 5.508 MB / 0.6355 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)