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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008571, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008695/0.0008695, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7783/0.7783, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8.625 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4528, allocations: 81.58 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09575/0.5486, allocations: 104.1 MB / 0.6848 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.577, allocations: 19.06 MB / 0.7034 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.5815, allocations: 95.31 kB / 0.7035 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.5852, allocations: 0.885 MB / 0.7043 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009002/0.5942, allocations: 2.87 MB / 0.7071 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.601, allocations: 2.378 MB / 0.7095 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009638/0.6106, allocations: 8.103 MB / 0.7174 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.6136, allocations: 1.816 MB / 0.7192 GB, free: 5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.6186, allocations: 2.236 MB / 0.7213 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.6221, allocations: 1.925 MB / 0.7232 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004541/0.6226, allocations: 88 kB / 0.7233 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.626, allocations: 1.154 MB / 0.7244 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.6267, allocations: 497.7 kB / 0.7249 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.628, allocations: 0.5628 MB / 0.7255 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.6319, allocations: 3.277 MB / 0.7287 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.6319, allocations: 4 kB / 0.7287 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6319, allocations: 4 kB / 0.7287 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.03e-05/0.632, allocations: 0 / 0.7287 GB, free: 11.23 MB / 0.5606 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.004643/0.6366, allocations: 2.712 MB / 0.7313 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.6367, allocations: 8.031 kB / 0.7313 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/0.637, allocations: 219.5 kB / 0.7315 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.6376, allocations: 332.2 kB / 0.7318 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.6409, allocations: 2.062 MB / 0.7339 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/0.641, allocations: 123 kB / 0.734 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.6412, allocations: 168 kB / 0.7341 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.6437, allocations: 1.608 MB / 0.7357 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.6438, allocations: 4 kB / 0.7357 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.6439, allocations: 64 kB / 0.7358 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.644, allocations: 39.98 kB / 0.7358 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.6459, allocations: 1.155 MB / 0.7369 GB, free: 2.531 MB / 0.5606 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.009881/0.6558, allocations: 7.901 MB / 0.7447 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.6565, allocations: 473.9 kB / 0.7451 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/0.657, allocations: 327 kB / 0.7454 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.6576, allocations: 0.7524 MB / 0.7462 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.6576, allocations: 47.06 kB / 0.7462 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.294e-06/0.6576, allocations: 4 kB / 0.7462 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001888/0.6595, allocations: 0.992 MB / 0.7472 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.6596, allocations: 59.97 kB / 0.7472 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.6623, allocations: 2.3 MB / 0.7495 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.6624, allocations: 45.7 kB / 0.7495 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000878/0.6633, allocations: 1.146 MB / 0.7506 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.6635, allocations: 216.9 kB / 0.7508 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.6635, allocations: 20 kB / 0.7509 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6637, allocations: 361.8 kB / 0.7512 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.6643, allocations: 342.5 kB / 0.7515 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000879/0.6652, allocations: 0.7345 MB / 0.7522 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.6659, allocations: 462.8 kB / 0.7527 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6659, allocations: 4 kB / 0.7527 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002053/0.668, allocations: 1.276 MB / 0.7539 GB, free: 212 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.6682, allocations: 342.8 kB / 0.7543 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6683, allocations: 15.94 kB / 0.7543 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.6683, allocations: 15.95 kB / 0.7543 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.6692, allocations: 255.6 kB / 0.7545 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.6692, allocations: 19.94 kB / 0.7546 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.6708, allocations: 250.2 kB / 0.7548 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.6709, allocations: 51.98 kB / 0.7548 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.6709, allocations: 4 kB / 0.7549 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/0.6726, allocations: 1.023 MB / 0.7559 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6726, allocations: 11.98 kB / 0.7559 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6726, allocations: 16 kB / 0.7559 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.6734, allocations: 247.6 kB / 0.7561 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.6735, allocations: 16.41 kB / 0.7561 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.6749, allocations: 230.5 kB / 0.7564 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.6749, allocations: 51.98 kB / 0.7564 GB, free: 13.57 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.676, allocations: 0.5865 MB / 0.757 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.6763, allocations: 237 kB / 0.7572 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.6778, allocations: 0.8891 MB / 0.7581 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.6779, allocations: 7.984 kB / 0.7581 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6779, allocations: 0 / 0.7581 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009495/0.6788, allocations: 0.6931 MB / 0.7588 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.6827, allocations: 2.578 MB / 0.7613 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.6827, allocations: 4 kB / 0.7613 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.6832, allocations: 127.8 kB / 0.7614 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.6832, allocations: 4 kB / 0.7614 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.6833, allocations: 19.98 kB / 0.7614 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/0.6833, allocations: 4 kB / 0.7614 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6833, allocations: 4.094 kB / 0.7614 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.6855, allocations: 1.325 MB / 0.7627 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.6866, allocations: 457.8 kB / 0.7632 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/0.6871, allocations: 16 kB / 0.7632 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6883, allocations: 119.6 kB / 0.7633 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.6884, allocations: 44.52 kB / 0.7633 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.6885, allocations: 35.92 kB / 0.7634 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002746/0.6912, allocations: 1.53 MB / 0.7649 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6913, allocations: 0 / 0.7649 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003513/0.6948, allocations: 1.095 MB / 0.7659 GB, free: 3.633 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00394/0.6987, allocations: 2.478 MB / 0.7683 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.7013, allocations: 1.35 MB / 0.7697 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7013, allocations: 0 / 0.7697 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.7018, allocations: 331 kB / 0.77 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006257/0.7081, allocations: 1.375 MB / 0.7713 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/0.733, allocations: 13.72 MB / 0.7847 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.7343, allocations: 1.59 MB / 0.7863 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00224/0.7366, allocations: 0.4957 MB / 0.7868 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/0.7379, allocations: 0.9562 MB / 0.7877 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of SimCode: time 1.032e-06/0.7379, allocations: 0 / 0.7877 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.402/1.14, allocations: 64.91 MB / 0.8511 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/1.14, allocations: 225.9 kB / 0.8513 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/4.667, allocations: 0 / 0.8513 GB, free: 190.9 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) Environment - environmentSimulation: