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/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/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_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_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.007956/0.007956, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8456/0.8456, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.2 MB / 403.2 MB, free: 6.746 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.000969/0.000969, allocations: 101.3 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004538, allocations: 12 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4979, allocations: 81.57 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9003/1.398, allocations: 365.1 MB / 1 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/1.399, allocations: 110 kB / 1 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.054/3.453, allocations: 0.5041 GB / 1.505 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.906e-06/3.453, allocations: 0 / 1.505 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001772/3.453, allocations: 47.92 kB / 1.505 GB, free: 78.36 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.004791/3.458, allocations: 2.027 MB / 1.507 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/3.458, allocations: 8.031 kB / 1.507 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009328/3.468, allocations: 1.542 MB / 1.508 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/3.473, allocations: 1.976 MB / 1.51 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/3.474, allocations: 81.98 kB / 1.51 GB, free: 72.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/3.474, allocations: 99.52 kB / 1.51 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/3.479, allocations: 1.669 MB / 1.512 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/3.479, allocations: 4 kB / 1.512 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/3.479, allocations: 36 kB / 1.512 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/3.479, allocations: 20 kB / 1.512 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007216/3.486, allocations: 1.936 MB / 1.514 GB, free: 68.85 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.01436/3.501, allocations: 6.133 MB / 1.52 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006485/3.507, allocations: 1.628 MB / 1.521 GB, free: 60.81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005192/3.512, allocations: 3.764 MB / 1.525 GB, free: 56.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/3.512, allocations: 38.44 kB / 1.525 GB, free: 56.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006028/3.513, allocations: 63.22 kB / 1.525 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 4.067e-06/3.513, allocations: 4 kB / 1.525 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.01007/3.523, allocations: 2.445 MB / 1.527 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/3.523, allocations: 59.39 kB / 1.528 GB, free: 53.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/3.525, allocations: 1.11 MB / 1.529 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/3.526, allocations: 37.7 kB / 1.529 GB, free: 52.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/3.526, allocations: 0.695 MB / 1.529 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/3.526, allocations: 161.7 kB / 1.53 GB, free: 51.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/3.527, allocations: 16 kB / 1.53 GB, free: 51.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001095/3.527, allocations: 345.9 kB / 1.53 GB, free: 51.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/3.53, allocations: 0.7825 MB / 1.531 GB, free: 50.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/3.533, allocations: 1.171 MB / 1.532 GB, free: 49.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/3.537, allocations: 0.8086 MB / 1.533 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/3.537, allocations: 4 kB / 1.533 GB, free: 48.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0077/3.544, allocations: 2.002 MB / 1.535 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001153/3.545, allocations: 4.52 MB / 1.539 GB, free: 41.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/3.545, allocations: 12 kB / 1.539 GB, free: 41.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/3.546, allocations: 56.83 kB / 1.539 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/3.548, allocations: 431.4 kB / 1.539 GB, free: 41.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004193/3.549, allocations: 0.5913 MB / 1.54 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/3.552, allocations: 319.5 kB / 1.54 GB, free: 40.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/3.552, allocations: 59.97 kB / 1.54 GB, free: 40.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/3.552, allocations: 4 kB / 1.54 GB, free: 40.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007341/3.559, allocations: 1.861 MB / 1.542 GB, free: 38.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/3.559, allocations: 12 kB / 1.542 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/3.559, allocations: 60.77 kB / 1.542 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/3.562, allocations: 435.7 kB / 1.543 GB, free: 37.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/3.562, allocations: 0.5913 MB / 1.543 GB, free: 37.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/3.565, allocations: 315.6 kB / 1.544 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/3.565, allocations: 59.91 kB / 1.544 GB, free: 36.91 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.001148/3.566, allocations: 424.8 kB / 1.544 GB, free: 36.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/3.567, allocations: 134.3 kB / 1.544 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007825/3.575, allocations: 2.036 MB / 1.546 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/3.575, allocations: 15.98 kB / 1.546 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/3.575, allocations: 0 / 1.546 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006486/3.581, allocations: 1.788 MB / 1.548 GB, free: 32.46 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.01043/3.592, allocations: 3.193 MB / 1.551 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/3.592, allocations: 0 / 1.551 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/3.594, allocations: 343.6 kB / 1.551 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/3.594, allocations: 32.84 kB / 1.551 GB, free: 28.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/3.594, allocations: 23.97 kB / 1.551 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003324/3.595, allocations: 0.564 MB / 1.552 GB, free: 28.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/3.595, allocations: 4.031 kB / 1.552 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/3.605, allocations: 2.842 MB / 1.555 GB, free: 25.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/3.607, allocations: 327.1 kB / 1.555 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005584/3.607, allocations: 15.95 kB / 1.555 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/3.61, allocations: 271.7 kB / 1.555 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/3.61, allocations: 48.31 kB / 1.555 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/3.61, allocations: 27.97 kB / 1.555 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001853/3.612, allocations: 0.8683 MB / 1.556 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/3.612, allocations: 0 / 1.556 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004295/3.616, allocations: 0.8579 MB / 1.557 GB, free: 22.86 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.00268/3.619, allocations: 1.057 MB / 1.558 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01152/3.63, allocations: 2.769 MB / 1.561 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/3.63, allocations: 0 / 1.561 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003637/3.634, allocations: 0.8817 MB / 1.562 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/3.638, allocations: 0.6647 MB / 1.562 GB, free: 17.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/3.648, allocations: 3.368 MB / 1.566 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/3.65, allocations: 1.241 MB / 1.567 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00295/3.653, allocations: 403.5 kB / 1.567 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/3.654, allocations: 115.4 kB / 1.567 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of SimCode: time 2.625e-06/3.654, allocations: 4 kB / 1.567 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.5917/4.245, allocations: 33.01 MB / 1.6 GB, free: 107.1 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (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 & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)