Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_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.000908/0.0009082, allocations: 91.84 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.001292/0.001292, 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.624/1.624, allocations: 223.2 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.046/1.046, allocations: 135.3 MB / 426.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005987/0.0005988, allocations: 11.94 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.215, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5027/0.7177, allocations: 104 MB / 0.6891 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03346/0.7512, allocations: 19.05 MB / 0.7077 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006003/0.7573, allocations: 90.56 kB / 0.7078 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005468/0.7628, allocations: 0.8999 MB / 0.7087 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01366/0.7765, allocations: 2.857 MB / 0.7114 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009065/0.7856, allocations: 2.381 MB / 0.7138 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01478/0.8004, allocations: 8.098 MB / 0.7217 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/0.8055, allocations: 1.82 MB / 0.7235 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/0.814, allocations: 2.244 MB / 0.7256 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005908/0.8199, allocations: 1.913 MB / 0.7275 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008239/0.8208, allocations: 90.5 kB / 0.7276 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005609/0.8264, allocations: 1.152 MB / 0.7287 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.8276, allocations: 495.7 kB / 0.7292 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.8294, allocations: 0.5658 MB / 0.7298 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005909/0.8353, allocations: 3.275 MB / 0.733 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.8354, allocations: 0 / 0.733 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.456e-06/0.8354, allocations: 3.938 kB / 0.733 GB, free: 6.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.046e-05/0.8355, allocations: 0 / 0.733 GB, free: 6.516 MB / 0.545 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.004881/0.8404, allocations: 2.72 MB / 0.7356 GB, free: 4.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8404, allocations: 8.25 kB / 0.7356 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003688/0.8408, allocations: 219.1 kB / 0.7358 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.8414, allocations: 326.1 kB / 0.7361 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.8449, allocations: 2.073 MB / 0.7382 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.845, allocations: 123 kB / 0.7383 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.8452, allocations: 168 kB / 0.7384 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.848, allocations: 1.604 MB / 0.74 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.848, allocations: 7.938 kB / 0.74 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.8481, allocations: 60 kB / 0.7401 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/0.8482, allocations: 43.98 kB / 0.7401 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.8502, allocations: 1.147 MB / 0.7412 GB, free: 14.84 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.01041/0.8606, allocations: 7.893 MB / 0.7489 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.8614, allocations: 478 kB / 0.7494 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.8619, allocations: 326.9 kB / 0.7497 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007602/0.8627, allocations: 0.7641 MB / 0.7505 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.8627, allocations: 39.12 kB / 0.7505 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.394e-06/0.8627, allocations: 0 / 0.7505 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.002119/0.8648, allocations: 0.9997 MB / 0.7515 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.8649, allocations: 63.97 kB / 0.7515 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.8683, allocations: 2.285 MB / 0.7538 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.8685, allocations: 49.7 kB / 0.7538 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.8697, allocations: 1.149 MB / 0.7549 GB, free: 76 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8699, allocations: 209 kB / 0.7551 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.87, allocations: 24 kB / 0.7552 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.8701, allocations: 357.9 kB / 0.7555 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.8708, allocations: 338.5 kB / 0.7558 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/0.8718, allocations: 0.7385 MB / 0.7565 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.8726, allocations: 474.7 kB / 0.757 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.8726, allocations: 0 / 0.757 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002284/0.8749, allocations: 1.268 MB / 0.7582 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.8751, allocations: 343.1 kB / 0.7586 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.8752, allocations: 8 kB / 0.7586 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.8752, allocations: 16 kB / 0.7586 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/0.8761, allocations: 259.6 kB / 0.7588 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.8762, allocations: 19.94 kB / 0.7588 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.8781, allocations: 250.2 kB / 0.7591 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-05/0.8782, allocations: 51.98 kB / 0.7591 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.8782, allocations: 11.95 kB / 0.7591 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001702/0.8799, allocations: 1.019 MB / 0.7601 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.88, allocations: 16.14 kB / 0.7602 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.88, allocations: 15.94 kB / 0.7602 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.8808, allocations: 255.6 kB / 0.7604 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.8809, allocations: 19.92 kB / 0.7604 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.8823, allocations: 226.6 kB / 0.7607 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.8824, allocations: 59.97 kB / 0.7607 GB, free: 9.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001174/0.8836, allocations: 0.571 MB / 0.7613 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.8839, allocations: 241 kB / 0.7615 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.8856, allocations: 0.8893 MB / 0.7624 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.8856, allocations: 11.98 kB / 0.7624 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8856, allocations: 0 / 0.7624 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.8866, allocations: 0.6853 MB / 0.763 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.8905, allocations: 2.578 MB / 0.7656 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8905, allocations: 0 / 0.7656 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.891, allocations: 135.9 kB / 0.7657 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.8911, allocations: 4 kB / 0.7657 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.8911, allocations: 23.92 kB / 0.7657 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.8911, allocations: 4 kB / 0.7657 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8911, allocations: 0 / 0.7657 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.8931, allocations: 1.321 MB / 0.767 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008813/0.894, allocations: 453.8 kB / 0.7674 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.8943, allocations: 20 kB / 0.7675 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.8953, allocations: 123.6 kB / 0.7676 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8954, allocations: 40.45 kB / 0.7676 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.8954, allocations: 31.97 kB / 0.7677 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002249/0.8977, allocations: 1.53 MB / 0.7691 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8977, allocations: 0 / 0.7691 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003041/0.9008, allocations: 1.091 MB / 0.7702 GB, free: 15.95 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.003749/0.9045, allocations: 2.481 MB / 0.7726 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00251/0.907, allocations: 1.353 MB / 0.774 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9071, allocations: 1.312 kB / 0.774 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005131/0.9076, allocations: 327.2 kB / 0.7743 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/0.9135, allocations: 1.383 MB / 0.7756 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/0.9397, allocations: 13.72 MB / 0.789 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.941, allocations: 1.59 MB / 0.7906 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002622/0.9436, allocations: 0.4909 MB / 0.7911 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.9451, allocations: 0.9601 MB / 0.792 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of SimCode: time 1.303e-06/0.9451, allocations: 0 / 0.792 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.055, allocations: 64.92 MB / 0.8554 GB, free: 8.242 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.055, allocations: 238.2 kB / 0.8556 GB, free: 7.992 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.009/5.064, allocations: 7.016 kB / 0.8556 GB, free: 7.988 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) Environment - environmentSimulation: