Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.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.Simplified.Examples.ThreeWayValveSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 109 kB / 16.41 MB, free: 6.512 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.001186/0.001186, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.41 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1417, allocations: 80.22 MB / 0.6604 GB, free: 10.28 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpEmission.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch): time 0.05667/0.1984, allocations: 54.21 MB / 0.7133 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.2177, allocations: 13.86 MB / 0.7268 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.22, allocations: 71.62 kB / 0.7269 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.2231, allocations: 0.9746 MB / 0.7278 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.2301, allocations: 2.211 MB / 0.73 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006053/0.2362, allocations: 2.01 MB / 0.732 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006457/0.2426, allocations: 4.438 MB / 0.7363 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.2452, allocations: 1.567 MB / 0.7378 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003983/0.2492, allocations: 1.849 MB / 0.7396 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.2513, allocations: 1.276 MB / 0.7409 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005068/0.2518, allocations: 163.9 kB / 0.741 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.255, allocations: 1.412 MB / 0.7424 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006495/0.2556, allocations: 490.4 kB / 0.7429 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.2571, allocations: 0.9252 MB / 0.7438 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.2626, allocations: 3.089 MB / 0.7468 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2627, allocations: 0 / 0.7468 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2627, allocations: 0 / 0.7468 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.711e-05/0.2628, allocations: 0 / 0.7468 GB, free: 1.449 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.352/0.6148, allocations: 2.146 MB / 0.7489 GB, free: 85.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6148, allocations: 10.17 kB / 0.7489 GB, free: 85.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.6169, allocations: 376.2 kB / 0.7493 GB, free: 84.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.6204, allocations: 1.482 MB / 0.7507 GB, free: 84.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.6205, allocations: 80.44 kB / 0.7508 GB, free: 84.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.6207, allocations: 110.4 kB / 0.7509 GB, free: 84.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.6233, allocations: 1.204 MB / 0.7521 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.6233, allocations: 1.812 kB / 0.7521 GB, free: 84.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.6235, allocations: 41.56 kB / 0.7521 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.6235, allocations: 26.44 kB / 0.7521 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.6258, allocations: 0.9683 MB / 0.7531 GB, free: 83.66 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.008203/0.6341, allocations: 5.135 MB / 0.7581 GB, free: 80.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.6357, allocations: 0.6061 MB / 0.7587 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.6364, allocations: 293.2 kB / 0.759 GB, free: 79.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004664/0.641, allocations: 2.99 MB / 0.7619 GB, free: 77.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009173/0.642, allocations: 341.1 kB / 0.7622 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.642, allocations: 0 / 0.7622 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002474/0.6445, allocations: 0.8602 MB / 0.7631 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6445, allocations: 59.14 kB / 0.7631 GB, free: 76.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.647, allocations: 1.393 MB / 0.7645 GB, free: 76.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.6471, allocations: 43.47 kB / 0.7645 GB, free: 76.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.6477, allocations: 0.729 MB / 0.7652 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.6478, allocations: 190.8 kB / 0.7654 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.6481, allocations: 203.6 kB / 0.7656 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.6482, allocations: 346.5 kB / 0.7659 GB, free: 75.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/0.649, allocations: 326.9 kB / 0.7663 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.65, allocations: 0.6652 MB / 0.7669 GB, free: 74.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.6516, allocations: 0.9862 MB / 0.7679 GB, free: 73.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.6516, allocations: 3.844 kB / 0.7679 GB, free: 73.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00257/0.6542, allocations: 1.165 MB / 0.769 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.6542, allocations: 40 kB / 0.769 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6542, allocations: 10.22 kB / 0.7691 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.6543, allocations: 17.84 kB / 0.7691 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.6553, allocations: 228.6 kB / 0.7693 GB, free: 73.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/0.6553, allocations: 32.19 kB / 0.7693 GB, free: 73.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6566, allocations: 157.4 kB / 0.7695 GB, free: 73.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.6567, allocations: 54.41 kB / 0.7695 GB, free: 73.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.658, allocations: 0.6024 MB / 0.7701 GB, free: 72.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.6591, allocations: 0.6696 MB / 0.7708 GB, free: 72.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001636/0.6607, allocations: 0.9814 MB / 0.7717 GB, free: 71.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.636e-06/0.6608, allocations: 3.406 kB / 0.7717 GB, free: 71.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.002695/0.6635, allocations: 1.165 MB / 0.7729 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.6635, allocations: 38.11 kB / 0.7729 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.6635, allocations: 11.03 kB / 0.7729 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6636, allocations: 14.88 kB / 0.7729 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.6644, allocations: 231.9 kB / 0.7731 GB, free: 71.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.6644, allocations: 23.44 kB / 0.7732 GB, free: 71.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.6656, allocations: 131.6 kB / 0.7733 GB, free: 71.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6657, allocations: 51.88 kB / 0.7733 GB, free: 71.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 (threeWayValveSwitch.switch,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 1 * 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.000371/0.6661, allocations: 245.5 kB / 0.7736 GB, free: 70.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.6664, allocations: 146.3 kB / 0.7737 GB, free: 70.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.6688, allocations: 1.133 MB / 0.7748 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/0.6702, allocations: 0.8876 MB / 0.7757 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6703, allocations: 0 / 0.7757 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.6709, allocations: 327.1 kB / 0.776 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.6711, allocations: 12.47 kB / 0.776 GB, free: 69.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/0.6718, allocations: 48.8 kB / 0.7761 GB, free: 69.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.6719, allocations: 53.3 kB / 0.7761 GB, free: 69.23 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001969/0.6739, allocations: 0.9385 MB / 0.777 GB, free: 68.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002489/0.6764, allocations: 1.487 MB / 0.7785 GB, free: 67.85 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006774/0.6771, allocations: 384.3 kB / 0.7788 GB, free: 67.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001598/0.6787, allocations: 0.9475 MB / 0.7798 GB, free: 67.13 MB / 0.5762 GB Notification: Performance of Backend: time 2e-07/0.6787, allocations: 0 / 0.7798 GB, free: 67.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004692/0.6834, allocations: 1.727 MB / 0.7815 GB, free: 66.36 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005746/0.6891, allocations: 3.515 MB / 0.7849 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.05221/0.7414, allocations: 36.79 MB / 0.8208 GB, free: 29.12 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.ThreeWayValveSwitch.pipe 2>&1)