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.001533/0.001533, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7874/0.7874, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.547/1.547, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009696, allocations: 91.83 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.041e-05, allocations: 3.594 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1806, allocations: 82.31 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.554, allocations: 365.3 MB / 0.9971 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.555, allocations: 104.5 kB / 0.9972 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.935/3.489, allocations: 0.5022 GB / 1.499 GB, free: 92.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.824e-06/3.489, allocations: 0 / 1.499 GB, free: 92.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000187/3.49, allocations: 46.2 kB / 1.499 GB, free: 92.82 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.003758/3.493, allocations: 1.655 MB / 1.501 GB, free: 92.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/3.493, allocations: 9 kB / 1.501 GB, free: 92.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009852/3.503, allocations: 1.545 MB / 1.503 GB, free: 92.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005953/3.509, allocations: 1.959 MB / 1.505 GB, free: 91.92 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/3.509, allocations: 73.31 kB / 1.505 GB, free: 91.92 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/3.51, allocations: 103.4 kB / 1.505 GB, free: 91.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/3.512, allocations: 1.141 MB / 1.506 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/3.512, allocations: 2.719 kB / 1.506 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/3.512, allocations: 37.44 kB / 1.506 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/3.512, allocations: 23.09 kB / 1.506 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/3.514, allocations: 0.8948 MB / 1.507 GB, free: 91.75 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01465/3.529, allocations: 6.132 MB / 1.513 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/3.53, allocations: 0.6022 MB / 1.513 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/3.531, allocations: 304.5 kB / 1.514 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004812/3.535, allocations: 3.767 MB / 1.517 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/3.535, allocations: 41.09 kB / 1.517 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005583/3.536, allocations: 57.5 kB / 1.517 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/3.536, allocations: 0 / 1.517 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.00151/3.538, allocations: 0.6486 MB / 1.518 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/3.538, allocations: 61.66 kB / 1.518 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/3.54, allocations: 1.097 MB / 1.519 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/3.54, allocations: 40.33 kB / 1.519 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006314/3.54, allocations: 0.6936 MB / 1.52 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/3.54, allocations: 162.7 kB / 1.52 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/3.54, allocations: 19.48 kB / 1.52 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001191/3.541, allocations: 340.2 kB / 1.52 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/3.541, allocations: 288.5 kB / 1.521 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/3.542, allocations: 0.6669 MB / 1.521 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/3.543, allocations: 349.2 kB / 1.522 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/3.543, allocations: 3.688 kB / 1.522 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002277/3.545, allocations: 1.035 MB / 1.523 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000991/3.546, allocations: 4.518 MB / 1.527 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/3.546, allocations: 10.92 kB / 1.527 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/3.546, allocations: 59.39 kB / 1.527 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/3.549, allocations: 429.2 kB / 1.528 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004308/3.549, allocations: 0.5939 MB / 1.528 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/3.552, allocations: 322.7 kB / 1.528 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/3.552, allocations: 56.7 kB / 1.528 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/3.552, allocations: 4.781 kB / 1.528 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/3.554, allocations: 0.8854 MB / 1.529 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/3.554, allocations: 12.03 kB / 1.529 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/3.554, allocations: 61.61 kB / 1.529 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/3.557, allocations: 431.7 kB / 1.53 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003151/3.557, allocations: 0.5912 MB / 1.53 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/3.559, allocations: 311.9 kB / 1.531 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/3.56, allocations: 55.27 kB / 1.531 GB, free: 79.36 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 () * 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.0002958/3.56, allocations: 169 kB / 1.531 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/3.56, allocations: 132.6 kB / 1.531 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/3.562, allocations: 1.055 MB / 1.532 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/3.562, allocations: 6.781 kB / 1.532 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/3.562, allocations: 0 / 1.532 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/3.563, allocations: 0.821 MB / 1.533 GB, free: 78.82 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003332/3.567, allocations: 2.23 MB / 1.535 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/3.567, allocations: 0 / 1.535 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/3.568, allocations: 341.7 kB / 1.535 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001701/3.569, allocations: 39.83 kB / 1.535 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/3.569, allocations: 24.38 kB / 1.535 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002529/3.569, allocations: 0.5679 MB / 1.536 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/3.569, allocations: 3.969 kB / 1.536 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/3.571, allocations: 1.366 MB / 1.537 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/3.571, allocations: 323.2 kB / 1.538 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/3.572, allocations: 15.14 kB / 1.538 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/3.573, allocations: 279.5 kB / 1.538 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/3.574, allocations: 43.03 kB / 1.538 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/3.574, allocations: 32.75 kB / 1.538 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001258/3.575, allocations: 0.8494 MB / 1.539 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/3.575, allocations: 2.688 kB / 1.539 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003181/3.578, allocations: 0.8654 MB / 1.54 GB, free: 77.04 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 () * 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.001782/3.58, allocations: 1.046 MB / 1.541 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002579/3.583, allocations: 1.31 MB / 1.542 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/3.583, allocations: 6.719 kB / 1.542 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006397/3.583, allocations: 378.8 kB / 1.542 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/3.586, allocations: 0.674 MB / 1.543 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/3.589, allocations: 1.81 MB / 1.545 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/3.59, allocations: 1.251 MB / 1.546 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00219/3.592, allocations: 0.5074 MB / 1.546 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/3.593, allocations: 105 kB / 1.547 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of SimCode: time 1.333e-06/3.593, allocations: 0 / 1.547 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of Templates: time 0.05187/3.644, allocations: 36.61 MB / 1.582 GB, free: 73.71 MB / 0.6823 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)