Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007046/0.007046, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7752/0.7752, allocations: 135.2 MB / 151 MB, free: 13.8 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.641/1.641, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.09 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5285, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9247/1.453, allocations: 365.3 MB / 1.006 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005183/1.454, allocations: 104.5 kB / 1.006 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.16/3.614, allocations: 0.5041 GB / 1.511 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.156e-06/3.614, allocations: 0 / 1.511 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000331/3.615, allocations: 39.98 kB / 1.511 GB, free: 65.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006948/3.622, allocations: 2.031 MB / 1.513 GB, free: 63.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/3.622, allocations: 8.031 kB / 1.513 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005302/3.622, allocations: 147.7 kB / 1.513 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009146/3.631, allocations: 1.54 MB / 1.514 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006043/3.637, allocations: 1.977 MB / 1.516 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/3.638, allocations: 74 kB / 1.516 GB, free: 59.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004051/3.638, allocations: 111.9 kB / 1.516 GB, free: 59.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/3.644, allocations: 1.665 MB / 1.518 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/3.644, allocations: 3.984 kB / 1.518 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/3.644, allocations: 40 kB / 1.518 GB, free: 57.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/3.644, allocations: 20 kB / 1.518 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007553/3.652, allocations: 1.928 MB / 1.52 GB, free: 55.58 MB / 0.6823 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.01536/3.667, allocations: 6.141 MB / 1.526 GB, free: 49.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006595/3.674, allocations: 1.624 MB / 1.527 GB, free: 47.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005243/3.679, allocations: 3.757 MB / 1.531 GB, free: 43.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/3.679, allocations: 37.5 kB / 1.531 GB, free: 43.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000762/3.68, allocations: 63.22 kB / 1.531 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 4.038e-06/3.68, allocations: 0 / 1.531 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.01034/3.69, allocations: 2.453 MB / 1.534 GB, free: 40.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/3.69, allocations: 55.41 kB / 1.534 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/3.692, allocations: 1.114 MB / 1.535 GB, free: 39.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/3.693, allocations: 37.7 kB / 1.535 GB, free: 39.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/3.693, allocations: 0.695 MB / 1.535 GB, free: 38.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/3.693, allocations: 157.8 kB / 1.536 GB, free: 38.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/3.694, allocations: 16 kB / 1.536 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001266/3.694, allocations: 337.9 kB / 1.536 GB, free: 38.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/3.697, allocations: 0.7864 MB / 1.537 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/3.7, allocations: 1.171 MB / 1.538 GB, free: 36.12 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/3.704, allocations: 0.8153 MB / 1.539 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/3.704, allocations: 4 kB / 1.539 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007452/3.711, allocations: 2.006 MB / 1.541 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009332/3.712, allocations: 4.51 MB / 1.545 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/3.712, allocations: 12 kB / 1.545 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/3.712, allocations: 64.77 kB / 1.545 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/3.714, allocations: 423.4 kB / 1.546 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000374/3.715, allocations: 0.5951 MB / 1.546 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/3.718, allocations: 327.6 kB / 1.546 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/3.718, allocations: 51.98 kB / 1.546 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/3.718, allocations: 4 kB / 1.546 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006864/3.725, allocations: 1.857 MB / 1.548 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/3.725, allocations: 12.53 kB / 1.548 GB, free: 25.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/3.725, allocations: 64.77 kB / 1.548 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/3.727, allocations: 419.4 kB / 1.549 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/3.727, allocations: 0.6068 MB / 1.549 GB, free: 24.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/3.73, allocations: 307.6 kB / 1.55 GB, free: 23.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/3.73, allocations: 63.91 kB / 1.55 GB, free: 23.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (99): * Single equations (assignments): 97 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009236/3.731, allocations: 436.8 kB / 1.55 GB, free: 23.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/3.731, allocations: 130.3 kB / 1.55 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007322/3.739, allocations: 2.027 MB / 1.552 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/3.739, allocations: 7.984 kB / 1.552 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/3.739, allocations: 4 kB / 1.552 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006356/3.745, allocations: 1.788 MB / 1.554 GB, free: 19.21 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.01034/3.756, allocations: 3.201 MB / 1.557 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/3.756, allocations: 4.031 kB / 1.557 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/3.757, allocations: 335.6 kB / 1.557 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/3.758, allocations: 40.59 kB / 1.557 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/3.758, allocations: 27.97 kB / 1.558 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002901/3.758, allocations: 0.5678 MB / 1.558 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/3.758, allocations: 0 / 1.558 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/3.768, allocations: 2.842 MB / 1.561 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000999/3.769, allocations: 319.1 kB / 1.561 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/3.77, allocations: 19.38 kB / 1.561 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/3.772, allocations: 287.6 kB / 1.561 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/3.772, allocations: 40.38 kB / 1.561 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/3.772, allocations: 27.97 kB / 1.561 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001638/3.774, allocations: 0.8683 MB / 1.562 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/3.774, allocations: 0 / 1.562 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003809/3.778, allocations: 0.8579 MB / 1.563 GB, free: 9.586 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (thermostatic3WayValve.k_state,thermostatic3WayValve.vol.dynBal.U,T_out.T) * 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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/3.79, allocations: 4.626 MB / 1.568 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01062/3.801, allocations: 2.766 MB / 1.57 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/3.801, allocations: 0 / 1.57 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/3.805, allocations: 0.877 MB / 1.571 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/3.808, allocations: 0.6782 MB / 1.572 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/3.824, allocations: 11.99 MB / 1.584 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/3.825, allocations: 1.241 MB / 1.585 GB, free: 3.152 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002457/3.828, allocations: 391.2 kB / 1.585 GB, free: 2.793 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/3.829, allocations: 0.5539 MB / 1.586 GB, free: 2.238 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/3.829, allocations: 0 / 1.586 GB, free: 2.238 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5401/4.369, allocations: 47.18 MB / 1.632 GB, free: 115.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/4.369, allocations: 258.6 kB / 1.632 GB, free: 115.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.381/7.75, allocations: 0 / 1.632 GB, free: 115.1 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)