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.001398/0.001398, allocations: 112 kB / 16.42 MB, free: 6.5 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.001597/0.001598, allocations: 186.6 kB / 17.35 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.438/1.438, 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.8042/0.8042, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 72.28 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 80.21 MB / 0.6604 GB, free: 10.42 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.05414/0.1996, allocations: 53.26 MB / 0.7124 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02845/0.2281, allocations: 15.18 MB / 0.7272 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.2315, allocations: 91.5 kB / 0.7273 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.2346, allocations: 1.129 MB / 0.7284 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006278/0.2409, allocations: 2.438 MB / 0.7308 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005947/0.2468, allocations: 2.286 MB / 0.733 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006451/0.2533, allocations: 4.619 MB / 0.7375 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.2556, allocations: 1.643 MB / 0.7391 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.26, allocations: 1.951 MB / 0.741 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.262, allocations: 1.361 MB / 0.7424 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.2623, allocations: 168 kB / 0.7425 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.266, allocations: 1.837 MB / 0.7443 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005384/0.2665, allocations: 0.5177 MB / 0.7448 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.2677, allocations: 1.042 MB / 0.7458 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3334/0.6012, allocations: 3.339 MB / 0.7491 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6012, allocations: 0.6562 kB / 0.7491 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6012, allocations: 0.5 kB / 0.7491 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.115e-05/0.6013, allocations: 1.281 kB / 0.7491 GB, free: 15.2 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.004304/0.6056, allocations: 2.594 MB / 0.7516 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6057, allocations: 10.59 kB / 0.7516 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.6077, allocations: 463.1 kB / 0.7521 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.6107, allocations: 1.694 MB / 0.7537 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.6108, allocations: 92.23 kB / 0.7538 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.611, allocations: 120.7 kB / 0.7539 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.6135, allocations: 1.339 MB / 0.7552 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.6135, allocations: 9.453 kB / 0.7553 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6136, allocations: 53.95 kB / 0.7553 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/0.6137, allocations: 40.34 kB / 0.7553 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.6163, allocations: 1.077 MB / 0.7564 GB, free: 12.95 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.0092/0.6255, allocations: 7.078 MB / 0.7633 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.6278, allocations: 1.347 MB / 0.7646 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.6288, allocations: 421.6 kB / 0.765 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005021/0.6338, allocations: 3.091 MB / 0.768 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.6348, allocations: 441.9 kB / 0.7685 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.925e-06/0.6349, allocations: 0 / 0.7685 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002995/0.6379, allocations: 1.223 MB / 0.7697 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.6379, allocations: 59.78 kB / 0.7697 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.64, allocations: 1.53 MB / 0.7712 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.6401, allocations: 41.42 kB / 0.7713 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006683/0.6408, allocations: 0.9011 MB / 0.7721 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.641, allocations: 226.6 kB / 0.7724 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.6413, allocations: 206.9 kB / 0.7726 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.6414, allocations: 340.5 kB / 0.7729 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.6423, allocations: 381.5 kB / 0.7732 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6434, allocations: 0.7515 MB / 0.774 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.6452, allocations: 1.114 MB / 0.7751 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.6453, allocations: 3.281 kB / 0.7751 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002793/0.6481, allocations: 1.296 MB / 0.7763 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.6481, allocations: 36.83 kB / 0.7764 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.6481, allocations: 12.78 kB / 0.7764 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.6482, allocations: 20.97 kB / 0.7764 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009693/0.6491, allocations: 256.1 kB / 0.7766 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/0.6492, allocations: 24.06 kB / 0.7767 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.6504, allocations: 143.2 kB / 0.7768 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.6505, allocations: 55 kB / 0.7769 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001357/0.6519, allocations: 0.6654 MB / 0.7775 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001014/0.6529, allocations: 0.7422 MB / 0.7782 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001788/0.6547, allocations: 1.087 MB / 0.7793 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/0.6547, allocations: 3.562 kB / 0.7793 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002649/0.6573, allocations: 1.265 MB / 0.7805 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.6574, allocations: 38.69 kB / 0.7806 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.6574, allocations: 11.47 kB / 0.7806 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.6574, allocations: 16.41 kB / 0.7806 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/0.6584, allocations: 258.1 kB / 0.7808 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.6584, allocations: 23.62 kB / 0.7809 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6596, allocations: 121.7 kB / 0.781 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/0.6597, allocations: 54.56 kB / 0.781 GB, free: 2.387 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.0003545/0.6601, allocations: 247.2 kB / 0.7813 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.6604, allocations: 170.8 kB / 0.7814 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.6629, allocations: 1.115 MB / 0.7825 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001733/0.6646, allocations: 0.9558 MB / 0.7834 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6647, allocations: 4 kB / 0.7835 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.6652, allocations: 336.7 kB / 0.7838 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.6654, allocations: 15.45 kB / 0.7838 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.6661, allocations: 57.06 kB / 0.7838 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6662, allocations: 53.67 kB / 0.7839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002388/0.6686, allocations: 1.036 MB / 0.7849 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002696/0.6714, allocations: 1.597 MB / 0.7865 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007875/0.6721, allocations: 419.1 kB / 0.7869 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001261/0.6734, allocations: 1.025 MB / 0.7879 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of Backend: time 2.81e-07/0.6734, allocations: 0 / 0.7879 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.6782, allocations: 2.124 MB / 0.7899 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005207/0.6834, allocations: 3.855 MB / 0.7937 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.05415/0.7376, allocations: 35.2 MB / 0.8281 GB, free: 6.035 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)