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.002296/0.002296, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8703/0.8703, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009524/0.0009525, allocations: 106.3 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.284e-05, allocations: 4 kB / 0.5535 GB, free: 9.039 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5261, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9393/1.466, allocations: 364.6 MB / 0.9899 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/1.466, allocations: 103.4 kB / 0.99 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.51/3.976, allocations: 0.499 GB / 1.489 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/3.976, allocations: 0 / 1.489 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003591/3.976, allocations: 46.34 kB / 1.489 GB, free: 106.7 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.005212/3.981, allocations: 1.656 MB / 1.491 GB, free: 105 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/3.981, allocations: 8.031 kB / 1.491 GB, free: 105 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009489/3.991, allocations: 1.541 MB / 1.492 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006246/3.997, allocations: 1.956 MB / 1.494 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/3.997, allocations: 28 kB / 1.494 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/3.998, allocations: 64 kB / 1.494 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002213/4, allocations: 0.8553 MB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/4.002, allocations: 1.015 MB / 1.496 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/4.002, allocations: 0 / 1.496 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/4.003, allocations: 3.703 kB / 1.496 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/4.003, allocations: 24 kB / 1.496 GB, free: 99.58 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.01464/4.017, allocations: 6.112 MB / 1.502 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/4.018, allocations: 0.6101 MB / 1.503 GB, free: 92.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/4.019, allocations: 298.1 kB / 1.503 GB, free: 92.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00431/4.023, allocations: 3.545 MB / 1.506 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/4.023, allocations: 42.5 kB / 1.506 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006699/4.024, allocations: 39.44 kB / 1.506 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 4.638e-06/4.024, allocations: 0 / 1.506 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.00248/4.026, allocations: 0.7154 MB / 1.507 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/4.026, allocations: 59.34 kB / 1.507 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/4.028, allocations: 0.9368 MB / 1.508 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.881e-05/4.028, allocations: 29.7 kB / 1.508 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/4.029, allocations: 0.6978 MB / 1.509 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/4.029, allocations: 149.8 kB / 1.509 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/4.029, allocations: 0 / 1.509 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/4.029, allocations: 338.2 kB / 1.509 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/4.029, allocations: 270.6 kB / 1.51 GB, free: 85.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/4.03, allocations: 0.6521 MB / 1.51 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/4.032, allocations: 456.3 kB / 1.511 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/4.032, allocations: 4 kB / 1.511 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002621/4.034, allocations: 1.062 MB / 1.512 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001072/4.035, allocations: 4.479 MB / 1.516 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/4.035, allocations: 12 kB / 1.516 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/4.036, allocations: 52.83 kB / 1.516 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/4.038, allocations: 431.4 kB / 1.516 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003723/4.038, allocations: 0.5874 MB / 1.517 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/4.041, allocations: 315.4 kB / 1.517 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/4.041, allocations: 51.98 kB / 1.517 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/4.041, allocations: 8.562 kB / 1.517 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002269/4.043, allocations: 0.9173 MB / 1.518 GB, free: 75.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/4.043, allocations: 12 kB / 1.518 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/4.043, allocations: 51.2 kB / 1.518 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/4.045, allocations: 431.6 kB / 1.519 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003113/4.045, allocations: 0.5835 MB / 1.519 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/4.048, allocations: 295.5 kB / 1.52 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/4.048, allocations: 63.91 kB / 1.52 GB, free: 74.09 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.000291/4.048, allocations: 132.7 kB / 1.52 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/4.049, allocations: 126.4 kB / 1.52 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/4.051, allocations: 1.024 MB / 1.521 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/4.051, allocations: 11.95 kB / 1.521 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/4.051, allocations: 7.516 kB / 1.521 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/4.053, allocations: 0.855 MB / 1.522 GB, free: 71.88 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.004264/4.057, allocations: 2.131 MB / 1.524 GB, free: 69.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/4.057, allocations: 0 / 1.524 GB, free: 69.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/4.059, allocations: 335.7 kB / 1.524 GB, free: 69.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/4.059, allocations: 36.84 kB / 1.524 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/4.059, allocations: 19.97 kB / 1.524 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003165/4.06, allocations: 0.5601 MB / 1.525 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/4.06, allocations: 4.031 kB / 1.525 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/4.062, allocations: 1.387 MB / 1.526 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/4.063, allocations: 307.3 kB / 1.526 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/4.063, allocations: 4 kB / 1.526 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/4.065, allocations: 263.7 kB / 1.527 GB, free: 66.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/4.065, allocations: 44.33 kB / 1.527 GB, free: 66.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/4.065, allocations: 31.97 kB / 1.527 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001274/4.067, allocations: 0.697 MB / 1.527 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/4.067, allocations: 0 / 1.527 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003429/4.07, allocations: 0.8409 MB / 1.528 GB, free: 65.05 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.002319/4.072, allocations: 1.003 MB / 1.529 GB, free: 64.17 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002235/4.075, allocations: 1.213 MB / 1.53 GB, free: 62.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/4.075, allocations: 320 / 1.53 GB, free: 62.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005533/4.075, allocations: 361.6 kB / 1.531 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/4.078, allocations: 0.5545 MB / 1.531 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/4.082, allocations: 1.746 MB / 1.533 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/4.083, allocations: 1.243 MB / 1.534 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002456/4.085, allocations: 493 kB / 1.535 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/4.085, allocations: 95.38 kB / 1.535 GB, free: 58.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/4.085, allocations: 4 kB / 1.535 GB, free: 58.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.04525/4.131, allocations: 28.83 MB / 1.563 GB, free: 30.39 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)