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.001081/0.001081, allocations: 114 kB / 16.42 MB, free: 6.508 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.001049/0.001049, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7934/0.7934, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 61.81 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, 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.04743/0.1964, allocations: 53.25 MB / 0.7124 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.2163, allocations: 15.18 MB / 0.7272 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.2185, allocations: 91.5 kB / 0.7273 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.2211, allocations: 1.13 MB / 0.7284 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.2263, allocations: 2.435 MB / 0.7308 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004875/0.2311, allocations: 2.276 MB / 0.733 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005579/0.2367, allocations: 4.635 MB / 0.7375 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.2389, allocations: 1.639 MB / 0.7391 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.2427, allocations: 1.957 MB / 0.741 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.2444, allocations: 1.357 MB / 0.7424 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.2446, allocations: 168 kB / 0.7425 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.2479, allocations: 1.841 MB / 0.7443 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.2484, allocations: 0.5139 MB / 0.7448 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.2495, allocations: 1.049 MB / 0.7458 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3462/0.5958, allocations: 3.334 MB / 0.7491 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5958, allocations: 2.344 kB / 0.7491 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5958, allocations: 0 / 0.7491 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.909e-05/0.5959, allocations: 0 / 0.7491 GB, free: 15.16 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.004556/0.6005, allocations: 2.593 MB / 0.7516 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.6005, allocations: 8.656 kB / 0.7516 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.6027, allocations: 464.7 kB / 0.7521 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.606, allocations: 1.698 MB / 0.7537 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.6061, allocations: 90.36 kB / 0.7538 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.6063, allocations: 117.7 kB / 0.7539 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.609, allocations: 1.342 MB / 0.7553 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.609, allocations: 8.641 kB / 0.7553 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.6092, allocations: 47.12 kB / 0.7553 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.6092, allocations: 41.14 kB / 0.7554 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.6121, allocations: 1.076 MB / 0.7564 GB, free: 12.92 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.009695/0.6218, allocations: 7.079 MB / 0.7633 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.6242, allocations: 1.353 MB / 0.7646 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.6253, allocations: 415.5 kB / 0.765 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004836/0.6301, allocations: 3.098 MB / 0.7681 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.6311, allocations: 437.7 kB / 0.7685 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.6311, allocations: 1.375 kB / 0.7685 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003113/0.6343, allocations: 1.22 MB / 0.7697 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.6343, allocations: 60.94 kB / 0.7697 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.6365, allocations: 1.53 MB / 0.7712 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.6366, allocations: 42.02 kB / 0.7713 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.6373, allocations: 0.8991 MB / 0.7721 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.6374, allocations: 225.7 kB / 0.7724 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.6377, allocations: 207.5 kB / 0.7726 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.6378, allocations: 345.7 kB / 0.7729 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/0.6388, allocations: 380.4 kB / 0.7732 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.6399, allocations: 0.7533 MB / 0.774 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.6419, allocations: 1.113 MB / 0.7751 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.6419, allocations: 3.719 kB / 0.7751 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002694/0.6446, allocations: 1.295 MB / 0.7763 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.6447, allocations: 37.88 kB / 0.7764 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.6447, allocations: 11.16 kB / 0.7764 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/0.6447, allocations: 20.09 kB / 0.7764 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/0.6458, allocations: 257.7 kB / 0.7766 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.6458, allocations: 25.92 kB / 0.7767 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.6469, allocations: 138.6 kB / 0.7768 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.647, allocations: 56.44 kB / 0.7769 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00138/0.6484, allocations: 0.6673 MB / 0.7775 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.6495, allocations: 0.735 MB / 0.7782 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001912/0.6514, allocations: 1.082 MB / 0.7793 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/0.6515, allocations: 7.406 kB / 0.7793 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002621/0.6541, allocations: 1.265 MB / 0.7805 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.6541, allocations: 43.09 kB / 0.7806 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.6542, allocations: 10.91 kB / 0.7806 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6542, allocations: 16.12 kB / 0.7806 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.6552, allocations: 254 kB / 0.7808 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/0.6552, allocations: 27.27 kB / 0.7809 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.6564, allocations: 126 kB / 0.781 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.6565, allocations: 54.48 kB / 0.781 GB, free: 2.348 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.0002818/0.6568, allocations: 247.3 kB / 0.7813 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.657, allocations: 171.2 kB / 0.7814 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.6597, allocations: 1.11 MB / 0.7825 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001952/0.6617, allocations: 0.955 MB / 0.7834 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6617, allocations: 1.062 kB / 0.7835 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.6622, allocations: 339.6 kB / 0.7838 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.6625, allocations: 15.59 kB / 0.7838 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008641/0.6634, allocations: 60.09 kB / 0.7838 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6636, allocations: 55.7 kB / 0.7839 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002618/0.6662, allocations: 1.032 MB / 0.7849 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003078/0.6693, allocations: 1.597 MB / 0.7865 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008764/0.6702, allocations: 416.2 kB / 0.7869 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001594/0.6718, allocations: 1.03 MB / 0.7879 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of Backend: time 1.553e-06/0.6718, allocations: 3.188 kB / 0.7879 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005492/0.6773, allocations: 2.126 MB / 0.7899 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006606/0.6839, allocations: 3.847 MB / 0.7937 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.05599/0.7399, allocations: 35.21 MB / 0.8281 GB, free: 5.941 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)