Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 105.8 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7756/0.7756, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 58.91 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05652/0.2083, allocations: 53.26 MB / 0.7124 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.2313, allocations: 15.19 MB / 0.7272 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.2342, allocations: 87.5 kB / 0.7273 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.2377, allocations: 1.119 MB / 0.7284 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.2446, allocations: 2.337 MB / 0.7307 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.2509, allocations: 2.28 MB / 0.7329 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007002/0.2579, allocations: 4.614 MB / 0.7374 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.261, allocations: 1.631 MB / 0.739 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.2658, allocations: 1.954 MB / 0.7409 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.2684, allocations: 1.361 MB / 0.7422 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007094/0.2691, allocations: 168 kB / 0.7424 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00414/0.2733, allocations: 1.845 MB / 0.7442 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.2742, allocations: 0.5139 MB / 0.7447 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2761, allocations: 1.038 MB / 0.7457 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.377/0.6531, allocations: 3.322 MB / 0.7489 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6532, allocations: 0.625 kB / 0.7489 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6532, allocations: 0 / 0.7489 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.81e-05/0.6533, allocations: 0 / 0.7489 GB, free: 15.15 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005376/0.6587, allocations: 2.521 MB / 0.7514 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6587, allocations: 9.344 kB / 0.7514 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.6611, allocations: 452.9 kB / 0.7518 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.6646, allocations: 1.68 MB / 0.7535 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.266e-05/0.6647, allocations: 93.58 kB / 0.7536 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.6649, allocations: 117.1 kB / 0.7537 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.6678, allocations: 1.343 MB / 0.755 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.6678, allocations: 1.125 kB / 0.755 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.668, allocations: 54.45 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/0.668, allocations: 40.94 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.6709, allocations: 1.078 MB / 0.7561 GB, free: 13.15 MB / 0.5762 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.009994/0.6809, allocations: 7.068 MB / 0.763 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.6833, allocations: 1.344 MB / 0.7644 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.6843, allocations: 423.3 kB / 0.7648 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005193/0.6895, allocations: 3.092 MB / 0.7678 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.6906, allocations: 440.3 kB / 0.7682 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.895e-06/0.6906, allocations: 1.375 kB / 0.7682 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003126/0.6937, allocations: 1.208 MB / 0.7694 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.6937, allocations: 58.25 kB / 0.7694 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.696, allocations: 1.541 MB / 0.7709 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/0.6961, allocations: 44.61 kB / 0.771 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007043/0.6968, allocations: 0.8811 MB / 0.7718 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.697, allocations: 210.5 kB / 0.772 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.6973, allocations: 210.6 kB / 0.7722 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.6974, allocations: 346.6 kB / 0.7726 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009396/0.6983, allocations: 377.7 kB / 0.7729 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.6994, allocations: 0.7528 MB / 0.7737 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.7014, allocations: 1.122 MB / 0.7748 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-06/0.7015, allocations: 3.656 kB / 0.7748 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002822/0.7043, allocations: 1.281 MB / 0.776 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.7043, allocations: 39.61 kB / 0.7761 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.7044, allocations: 14.08 kB / 0.7761 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.914e-05/0.7044, allocations: 20.53 kB / 0.7761 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7054, allocations: 257.8 kB / 0.7763 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.7055, allocations: 18.88 kB / 0.7764 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.7067, allocations: 139.5 kB / 0.7765 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.7069, allocations: 55.12 kB / 0.7765 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001536/0.7084, allocations: 0.6672 MB / 0.7772 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/0.7095, allocations: 0.7353 MB / 0.7779 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001981/0.7115, allocations: 1.09 MB / 0.779 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.472e-05/0.7116, allocations: 2.375 kB / 0.779 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002755/0.7143, allocations: 1.254 MB / 0.7802 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.7144, allocations: 41.67 kB / 0.7802 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.7144, allocations: 11.69 kB / 0.7803 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7144, allocations: 20.56 kB / 0.7803 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.7154, allocations: 251.1 kB / 0.7805 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/0.7155, allocations: 23.42 kB / 0.7805 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.7167, allocations: 119.3 kB / 0.7806 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.7168, allocations: 56.33 kB / 0.7807 GB, free: 2.645 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.7172, allocations: 241.5 kB / 0.7809 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.7175, allocations: 166.6 kB / 0.7811 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.7203, allocations: 1.116 MB / 0.7822 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.7203, allocations: 9.625 kB / 0.7822 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.7203, allocations: 0 / 0.7822 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001931/0.7223, allocations: 0.957 MB / 0.7831 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/0.7272, allocations: 2.408 MB / 0.7855 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7273, allocations: 0.6562 kB / 0.7855 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.728, allocations: 145.6 kB / 0.7856 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.7282, allocations: 33.33 kB / 0.7856 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.7283, allocations: 20.47 kB / 0.7857 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.7293, allocations: 1.417 MB / 0.7871 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7293, allocations: 0 / 0.7871 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.7327, allocations: 1.542 MB / 0.7886 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/0.7335, allocations: 346.8 kB / 0.7889 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/0.7339, allocations: 12.34 kB / 0.7889 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.735, allocations: 58.5 kB / 0.789 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7351, allocations: 59.61 kB / 0.789 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.7352, allocations: 30.28 kB / 0.789 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001796/0.737, allocations: 1.092 MB / 0.7901 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.737, allocations: 4 kB / 0.7901 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00299/0.74, allocations: 0.859 MB / 0.7909 GB, free: 15.44 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.7419, allocations: 0.7425 MB / 0.7917 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003529/0.7455, allocations: 1.575 MB / 0.7932 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7455, allocations: 3 kB / 0.7932 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.7466, allocations: 0.5373 MB / 0.7937 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.7503, allocations: 0.7615 MB / 0.7945 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.7559, allocations: 3.097 MB / 0.7975 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.757, allocations: 1.358 MB / 0.7988 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.7575, allocations: 146.6 kB / 0.799 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.7575, allocations: 0 / 0.799 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.05066/0.8082, allocations: 33.42 MB / 0.8316 GB, free: 2.984 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)