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.001113/0.001113, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001196/0.001196, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.2 MB / 423.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 80.19 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09525/0.4155, allocations: 112.6 MB / 0.6915 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.4434, allocations: 20.22 MB / 0.7112 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.4469, allocations: 107.4 kB / 0.7113 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.4501, allocations: 1.289 MB / 0.7126 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00906/0.4592, allocations: 3.673 MB / 0.7162 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007228/0.4665, allocations: 3.106 MB / 0.7192 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0092/0.4757, allocations: 7.216 MB / 0.7263 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004108/0.4798, allocations: 2.568 MB / 0.7288 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006188/0.486, allocations: 2.812 MB / 0.7315 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.4898, allocations: 2.131 MB / 0.7336 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005127/0.4903, allocations: 256 kB / 0.7338 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.4938, allocations: 1.646 MB / 0.7355 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.4945, allocations: 0.6928 MB / 0.7361 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002048/0.4965, allocations: 1.504 MB / 0.7376 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.5019, allocations: 4.4 MB / 0.7419 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.502, allocations: 0 / 0.7419 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.502, allocations: 4 kB / 0.7419 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.442e-05/0.502, allocations: 0 / 0.7419 GB, free: 9.531 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.005198/0.5072, allocations: 3.237 MB / 0.7451 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5073, allocations: 8.031 kB / 0.7451 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007042/0.508, allocations: 320.3 kB / 0.7454 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/0.5116, allocations: 2.194 MB / 0.7475 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.5117, allocations: 123 kB / 0.7476 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.512, allocations: 171.9 kB / 0.7478 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.5146, allocations: 1.606 MB / 0.7494 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.5146, allocations: 4 kB / 0.7494 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5148, allocations: 67.94 kB / 0.7494 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.5148, allocations: 43.98 kB / 0.7495 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.5168, allocations: 1.147 MB / 0.7506 GB, free: 424 kB / 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.2528/0.7696, allocations: 7.909 MB / 0.7583 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.7706, allocations: 472.9 kB / 0.7588 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.7712, allocations: 324 kB / 0.7591 GB, free: 155 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.7717, allocations: 0.7547 MB / 0.7598 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.7718, allocations: 43.91 kB / 0.7599 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.366e-06/0.7718, allocations: 1.766 kB / 0.7599 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002745/0.7745, allocations: 0.9904 MB / 0.7608 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.7746, allocations: 60.22 kB / 0.7609 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/0.7782, allocations: 2.337 MB / 0.7632 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.7784, allocations: 49.17 kB / 0.7632 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/0.7791, allocations: 1.152 MB / 0.7643 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.7793, allocations: 207 kB / 0.7645 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.7796, allocations: 258.3 kB / 0.7648 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.7797, allocations: 351.4 kB / 0.7651 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.7803, allocations: 359.1 kB / 0.7655 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.7811, allocations: 0.7419 MB / 0.7662 GB, free: 150 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.7823, allocations: 0.9947 MB / 0.7672 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7823, allocations: 3.031 kB / 0.7672 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002226/0.7846, allocations: 1.296 MB / 0.7684 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7846, allocations: 7.562 kB / 0.7684 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7846, allocations: 8.188 kB / 0.7684 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.7847, allocations: 14.31 kB / 0.7685 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.7856, allocations: 252.5 kB / 0.7687 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.7856, allocations: 19.72 kB / 0.7687 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.7871, allocations: 180.3 kB / 0.7689 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/0.7872, allocations: 50.48 kB / 0.7689 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.7885, allocations: 0.7629 MB / 0.7697 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007096/0.7892, allocations: 0.7342 MB / 0.7704 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001036/0.7903, allocations: 0.96 MB / 0.7713 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.7903, allocations: 0 / 0.7713 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.001752/0.792, allocations: 1.258 MB / 0.7726 GB, free: 146 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.792, allocations: 11.75 kB / 0.7726 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.7921, allocations: 10.22 kB / 0.7726 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.7921, allocations: 11.91 kB / 0.7726 GB, free: 146 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.7929, allocations: 256.2 kB / 0.7728 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.7929, allocations: 15.78 kB / 0.7729 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.7943, allocations: 124.8 kB / 0.773 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.7943, allocations: 48.48 kB / 0.773 GB, free: 145.8 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.0002199/0.7946, allocations: 250.1 kB / 0.7733 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.7948, allocations: 243.6 kB / 0.7735 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.7963, allocations: 0.876 MB / 0.7743 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.7963, allocations: 11.53 kB / 0.7744 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7963, allocations: 3.984 kB / 0.7744 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007969/0.7971, allocations: 0.6851 MB / 0.775 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.8002, allocations: 2.587 MB / 0.7776 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8002, allocations: 0 / 0.7776 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.8007, allocations: 123.7 kB / 0.7777 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8007, allocations: 6.906 kB / 0.7777 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.8008, allocations: 14.56 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.8008, allocations: 3.312 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.8008, allocations: 5.562 kB / 0.7777 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.8023, allocations: 1.319 MB / 0.779 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.803, allocations: 417.9 kB / 0.7794 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.8032, allocations: 11.47 kB / 0.7794 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/0.8041, allocations: 51.88 kB / 0.7794 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.8042, allocations: 44.66 kB / 0.7795 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.8043, allocations: 33.52 kB / 0.7795 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001608/0.8059, allocations: 1.567 MB / 0.7811 GB, free: 140 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8059, allocations: 0 / 0.7811 GB, free: 140 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002052/0.808, allocations: 1.111 MB / 0.7821 GB, free: 139 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.001399/0.8094, allocations: 0.7579 MB / 0.7829 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.8115, allocations: 1.357 MB / 0.7842 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8115, allocations: 0 / 0.7842 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.812, allocations: 330.4 kB / 0.7845 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/0.8163, allocations: 1.388 MB / 0.7859 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.8205, allocations: 3.665 MB / 0.7895 GB, free: 132 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.8212, allocations: 1.594 MB / 0.791 GB, free: 130.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001365/0.8226, allocations: 0.4931 MB / 0.7915 GB, free: 129.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8229, allocations: 179.3 kB / 0.7917 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.8229, allocations: 0 / 0.7917 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.05568/0.8786, allocations: 44.36 MB / 0.835 GB, free: 85.9 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)