Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002059/0.002059, allocations: 107.1 kB / 16.41 MB, free: 6.023 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.002256/0.002256, allocations: 189.2 kB / 17.34 MB, free: 5.605 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8623/0.8623, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 69.98 kB / 0.5864 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1932, allocations: 80.93 MB / 0.6654 GB, free: 5.652 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.06459/0.2578, allocations: 53.35 MB / 0.7175 GB, free: 112 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02664/0.2844, allocations: 15.21 MB / 0.7324 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.2879, allocations: 87.5 kB / 0.7325 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.292, allocations: 1.133 MB / 0.7336 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007388/0.2994, allocations: 2.443 MB / 0.736 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00643/0.3058, allocations: 2.278 MB / 0.7382 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008412/0.3142, allocations: 4.626 MB / 0.7427 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.3171, allocations: 1.373 MB / 0.744 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.3229, allocations: 1.973 MB / 0.746 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003017/0.3259, allocations: 1.357 MB / 0.7473 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004989/0.3264, allocations: 172 kB / 0.7475 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4241/0.7506, allocations: 1.833 MB / 0.7492 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.7517, allocations: 0.5363 MB / 0.7498 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.7538, allocations: 1.037 MB / 0.7508 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.7622, allocations: 3.339 MB / 0.754 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7622, allocations: 1.312 kB / 0.754 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7622, allocations: 0 / 0.754 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.062e-05/0.7623, allocations: 0 / 0.754 GB, free: 10.05 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.006487/0.7688, allocations: 2.603 MB / 0.7566 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7688, allocations: 10.88 kB / 0.7566 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.7713, allocations: 462.8 kB / 0.757 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.7758, allocations: 1.693 MB / 0.7587 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.7759, allocations: 95.78 kB / 0.7588 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/0.7762, allocations: 119.8 kB / 0.7589 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.7794, allocations: 1.337 MB / 0.7602 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.7795, allocations: 4.844 kB / 0.7602 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.7796, allocations: 55.06 kB / 0.7603 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.951e-05/0.7797, allocations: 41.62 kB / 0.7603 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.7828, allocations: 1.074 MB / 0.7613 GB, free: 7.781 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.011/0.7938, allocations: 7.079 MB / 0.7683 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.7961, allocations: 1.311 MB / 0.7695 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.797, allocations: 389.5 kB / 0.7699 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006089/0.8031, allocations: 3.095 MB / 0.7729 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.8043, allocations: 440.7 kB / 0.7734 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.777e-06/0.8043, allocations: 0 / 0.7734 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003392/0.8077, allocations: 1.216 MB / 0.7745 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.8078, allocations: 61.19 kB / 0.7746 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.81, allocations: 1.535 MB / 0.7761 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.8101, allocations: 40.64 kB / 0.7761 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/0.8109, allocations: 0.8932 MB / 0.777 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.8111, allocations: 229.2 kB / 0.7772 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.8114, allocations: 205.4 kB / 0.7774 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8115, allocations: 347.3 kB / 0.7778 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/0.8125, allocations: 378.4 kB / 0.7781 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.8135, allocations: 0.7522 MB / 0.7788 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.8156, allocations: 1.118 MB / 0.7799 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.8156, allocations: 3.375 kB / 0.7799 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002969/0.8185, allocations: 1.291 MB / 0.7812 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.8186, allocations: 39.97 kB / 0.7812 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.8186, allocations: 14.84 kB / 0.7813 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/0.8187, allocations: 20.22 kB / 0.7813 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009701/0.8196, allocations: 253.1 kB / 0.7815 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.8196, allocations: 22.06 kB / 0.7815 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.8209, allocations: 141.5 kB / 0.7817 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.821, allocations: 53.12 kB / 0.7817 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001514/0.8226, allocations: 0.6694 MB / 0.7824 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.8236, allocations: 0.7323 MB / 0.7831 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0019/0.8255, allocations: 1.087 MB / 0.7842 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/0.8255, allocations: 7.469 kB / 0.7842 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002914/0.8284, allocations: 1.268 MB / 0.7854 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.8285, allocations: 38.06 kB / 0.7854 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8285, allocations: 13.66 kB / 0.7854 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8285, allocations: 22.91 kB / 0.7855 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.8294, allocations: 256.8 kB / 0.7857 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.8294, allocations: 21 kB / 0.7857 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.8308, allocations: 122.9 kB / 0.7859 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/0.8308, allocations: 53.69 kB / 0.7859 GB, free: 13.2 MB / 0.5919 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.0004128/0.8313, allocations: 244.2 kB / 0.7861 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.8315, allocations: 178.5 kB / 0.7863 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.8342, allocations: 1.104 MB / 0.7874 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8343, allocations: 7.125 kB / 0.7874 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8343, allocations: 1.875 kB / 0.7874 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001956/0.8362, allocations: 0.9557 MB / 0.7883 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.841, allocations: 2.408 MB / 0.7907 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.036e-06/0.841, allocations: 3.125 kB / 0.7907 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.8416, allocations: 140.5 kB / 0.7908 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.8418, allocations: 28.89 kB / 0.7908 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.8419, allocations: 30.05 kB / 0.7909 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.8432, allocations: 1.425 MB / 0.7923 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8432, allocations: 0 / 0.7923 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.8465, allocations: 1.545 MB / 0.7938 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.8473, allocations: 352.5 kB / 0.7941 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.8475, allocations: 13.78 kB / 0.7941 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.8483, allocations: 63.12 kB / 0.7942 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.8484, allocations: 53.8 kB / 0.7942 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.8484, allocations: 34.25 kB / 0.7943 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001727/0.8502, allocations: 1.088 MB / 0.7953 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8502, allocations: 0 / 0.7953 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002868/0.853, allocations: 0.8745 MB / 0.7962 GB, free: 9.957 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.00243/0.8555, allocations: 0.7402 MB / 0.7969 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00351/0.859, allocations: 1.519 MB / 0.7984 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.859, allocations: 0 / 0.7984 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.8601, allocations: 0.5058 MB / 0.7989 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.8635, allocations: 0.7621 MB / 0.7996 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.8694, allocations: 3.17 MB / 0.8027 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.8704, allocations: 1.353 MB / 0.804 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.8709, allocations: 145.4 kB / 0.8042 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.8709, allocations: 4 kB / 0.8042 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.0552/0.9261, allocations: 33.55 MB / 0.837 GB, free: 12.08 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)