Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01125/0.01125, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9646/0.9646, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.657/1.657, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.0009443/0.0009442, allocations: 102.9 kB / 490 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 8 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5105, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9243/1.435, allocations: 365.3 MB / 1.006 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004047/1.435, allocations: 117.4 kB / 1.006 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.042/3.477, allocations: 0.5041 GB / 1.51 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/3.477, allocations: 0 / 1.51 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001717/3.477, allocations: 43.92 kB / 1.511 GB, free: 65.1 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.004965/3.482, allocations: 2.023 MB / 1.513 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/3.482, allocations: 12.03 kB / 1.513 GB, free: 63.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009173/3.491, allocations: 1.54 MB / 1.514 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/3.497, allocations: 1.985 MB / 1.516 GB, free: 59.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/3.497, allocations: 74 kB / 1.516 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/3.497, allocations: 100 kB / 1.516 GB, free: 59.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/3.502, allocations: 1.665 MB / 1.518 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/3.502, allocations: 0 / 1.518 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/3.502, allocations: 40 kB / 1.518 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/3.502, allocations: 27.94 kB / 1.518 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007108/3.509, allocations: 1.936 MB / 1.52 GB, free: 55.55 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.01382/3.523, allocations: 6.141 MB / 1.526 GB, free: 49.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006087/3.529, allocations: 1.615 MB / 1.527 GB, free: 47.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004485/3.534, allocations: 3.754 MB / 1.531 GB, free: 43.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/3.534, allocations: 46.44 kB / 1.531 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005816/3.535, allocations: 59.22 kB / 1.531 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.587e-06/3.535, allocations: 0 / 1.531 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.009859/3.544, allocations: 2.445 MB / 1.533 GB, free: 40.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/3.545, allocations: 67.33 kB / 1.533 GB, free: 40.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/3.546, allocations: 1.106 MB / 1.535 GB, free: 39.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/3.546, allocations: 37.7 kB / 1.535 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/3.547, allocations: 0.6989 MB / 1.535 GB, free: 38.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/3.547, allocations: 157.8 kB / 1.535 GB, free: 38.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/3.547, allocations: 20 kB / 1.535 GB, free: 38.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/3.547, allocations: 337.9 kB / 1.536 GB, free: 38.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/3.55, allocations: 0.7825 MB / 1.537 GB, free: 37.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/3.554, allocations: 1.175 MB / 1.538 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/3.557, allocations: 0.8075 MB / 1.538 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/3.557, allocations: 7.953 kB / 1.538 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.007494/3.564, allocations: 2.006 MB / 1.54 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009579/3.565, allocations: 4.513 MB / 1.545 GB, free: 28.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/3.565, allocations: 16 kB / 1.545 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/3.565, allocations: 60.83 kB / 1.545 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/3.567, allocations: 423.4 kB / 1.545 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/3.568, allocations: 0.5989 MB / 1.546 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/3.57, allocations: 327.5 kB / 1.546 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/3.57, allocations: 51.98 kB / 1.546 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/3.57, allocations: 4 kB / 1.546 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006905/3.577, allocations: 1.858 MB / 1.548 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/3.577, allocations: 16.03 kB / 1.548 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/3.578, allocations: 60.83 kB / 1.548 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/3.58, allocations: 423.4 kB / 1.549 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003269/3.58, allocations: 0.6029 MB / 1.549 GB, free: 24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/3.583, allocations: 303.6 kB / 1.549 GB, free: 23.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/3.583, allocations: 55.97 kB / 1.55 GB, free: 23.64 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.0009654/3.584, allocations: 444.6 kB / 1.55 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/3.584, allocations: 134.3 kB / 1.55 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/3.591, allocations: 2.026 MB / 1.552 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/3.591, allocations: 11.98 kB / 1.552 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/3.591, allocations: 0 / 1.552 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006144/3.597, allocations: 1.792 MB / 1.554 GB, free: 19.18 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.008926/3.606, allocations: 3.201 MB / 1.557 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/3.606, allocations: 4 kB / 1.557 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/3.608, allocations: 331.7 kB / 1.557 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/3.608, allocations: 44.84 kB / 1.557 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/3.608, allocations: 23.97 kB / 1.557 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/3.609, allocations: 0.5679 MB / 1.558 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/3.609, allocations: 0 / 1.558 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009621/3.618, allocations: 2.842 MB / 1.561 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/3.619, allocations: 319.1 kB / 1.561 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/3.619, allocations: 12 kB / 1.561 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/3.621, allocations: 295.4 kB / 1.561 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/3.621, allocations: 36.38 kB / 1.561 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/3.621, allocations: 31.97 kB / 1.561 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001269/3.623, allocations: 0.8683 MB / 1.562 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/3.623, allocations: 0 / 1.562 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002899/3.626, allocations: 0.8462 MB / 1.563 GB, free: 9.57 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.001899/3.628, allocations: 1.068 MB / 1.564 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01102/3.639, allocations: 2.769 MB / 1.567 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/3.639, allocations: 4.312 kB / 1.567 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003422/3.642, allocations: 0.8731 MB / 1.568 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/3.645, allocations: 0.6725 MB / 1.568 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/3.652, allocations: 3.356 MB / 1.572 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/3.653, allocations: 1.245 MB / 1.573 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002067/3.655, allocations: 390.1 kB / 1.573 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/3.655, allocations: 123.3 kB / 1.573 GB, free: 15.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.392e-06/3.655, allocations: 4 kB / 1.573 GB, free: 15.14 MB / 0.698 GB Notification: Performance of Templates: time 0.5469/4.202, allocations: 33.02 MB / 1.605 GB, free: 114.3 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)