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.001497/0.001497, allocations: 174.8 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/package.mo): time 0.7895/0.7895, allocations: 130.5 MB / 143.8 MB, free: 13.57 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.523/1.523, allocations: 221.3 MB / 396.8 MB, free: 9.168 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.00103/0.00103, allocations: 107.8 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.523e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 81.58 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.504, allocations: 365 MB / 0.9912 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.505, allocations: 103.5 kB / 0.9913 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.392/2.896, allocations: 0.5022 GB / 1.494 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.095e-06/2.897, allocations: 0 / 1.494 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001754/2.897, allocations: 43.92 kB / 1.494 GB, free: 4.699 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.003194/2.9, allocations: 1.647 MB / 1.495 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/2.9, allocations: 8.031 kB / 1.495 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009406/2.909, allocations: 1.539 MB / 1.497 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4429/3.352, allocations: 1.962 MB / 1.499 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/3.352, allocations: 79.62 kB / 1.499 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/3.353, allocations: 98.19 kB / 1.499 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/3.355, allocations: 1.139 MB / 1.5 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/3.355, allocations: 1.625 kB / 1.5 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/3.355, allocations: 42.98 kB / 1.5 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/3.355, allocations: 22.94 kB / 1.5 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/3.357, allocations: 0.8943 MB / 1.501 GB, free: 91.29 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.0141/3.371, allocations: 6.134 MB / 1.507 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/3.372, allocations: 0.6093 MB / 1.507 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/3.372, allocations: 302.2 kB / 1.508 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00426/3.377, allocations: 3.77 MB / 1.511 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/3.377, allocations: 38.95 kB / 1.511 GB, free: 86.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004333/3.377, allocations: 64.34 kB / 1.511 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/3.377, allocations: 1.203 kB / 1.511 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.00135/3.379, allocations: 0.6496 MB / 1.512 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/3.379, allocations: 58.14 kB / 1.512 GB, free: 86.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/3.38, allocations: 1.094 MB / 1.513 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/3.38, allocations: 40.52 kB / 1.513 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/3.381, allocations: 0.6955 MB / 1.514 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/3.381, allocations: 158.3 kB / 1.514 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/3.381, allocations: 19.22 kB / 1.514 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/3.381, allocations: 340.7 kB / 1.514 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/3.381, allocations: 289 kB / 1.515 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/3.382, allocations: 0.6719 MB / 1.515 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/3.382, allocations: 339.7 kB / 1.516 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/3.382, allocations: 3.844 kB / 1.516 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001727/3.384, allocations: 1.036 MB / 1.517 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007355/3.385, allocations: 4.521 MB / 1.521 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/3.385, allocations: 10.94 kB / 1.521 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/3.385, allocations: 66.42 kB / 1.521 GB, free: 80 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/3.387, allocations: 424.3 kB / 1.522 GB, free: 80 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003477/3.388, allocations: 0.5916 MB / 1.522 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/3.39, allocations: 326.5 kB / 1.523 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/3.39, allocations: 56.55 kB / 1.523 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/3.39, allocations: 5 kB / 1.523 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/3.392, allocations: 0.8891 MB / 1.523 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/3.392, allocations: 11 kB / 1.523 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/3.392, allocations: 62.55 kB / 1.524 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/3.394, allocations: 431.3 kB / 1.524 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002865/3.395, allocations: 0.5841 MB / 1.524 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/3.397, allocations: 310.8 kB / 1.525 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.397, allocations: 55.48 kB / 1.525 GB, free: 78.93 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.0002704/3.397, allocations: 167.7 kB / 1.525 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/3.398, allocations: 138.9 kB / 1.525 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/3.4, allocations: 1.059 MB / 1.526 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/3.4, allocations: 6.719 kB / 1.526 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/3.4, allocations: 3.562 kB / 1.526 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/3.401, allocations: 0.8189 MB / 1.527 GB, free: 78.38 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.003715/3.405, allocations: 2.237 MB / 1.529 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/3.405, allocations: 1.094 kB / 1.529 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/3.407, allocations: 338.8 kB / 1.529 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/3.407, allocations: 40.25 kB / 1.53 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/3.407, allocations: 18.16 kB / 1.53 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002753/3.407, allocations: 0.564 MB / 1.53 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/3.407, allocations: 4.625 kB / 1.53 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/3.409, allocations: 1.373 MB / 1.531 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/3.41, allocations: 317.2 kB / 1.532 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/3.41, allocations: 22.34 kB / 1.532 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/3.412, allocations: 280.1 kB / 1.532 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/3.412, allocations: 39.44 kB / 1.532 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/3.412, allocations: 35.66 kB / 1.532 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00141/3.414, allocations: 0.855 MB / 1.533 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/3.414, allocations: 1.188 kB / 1.533 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003094/3.417, allocations: 0.8572 MB / 1.534 GB, free: 76.66 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.001792/3.419, allocations: 1.037 MB / 1.535 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00256/3.421, allocations: 1.31 MB / 1.536 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/3.421, allocations: 0 / 1.536 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006887/3.422, allocations: 385.3 kB / 1.536 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/3.425, allocations: 0.6752 MB / 1.537 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/3.428, allocations: 1.804 MB / 1.539 GB, free: 75.94 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/3.429, allocations: 1.253 MB / 1.54 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002363/3.431, allocations: 0.5131 MB / 1.541 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/3.432, allocations: 97.98 kB / 1.541 GB, free: 75.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/3.432, allocations: 0 / 1.541 GB, free: 75.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.05198/3.484, allocations: 36.61 MB / 1.576 GB, free: 73.68 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)