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.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001862/0.001862, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9487/0.9487, allocations: 135.1 MB / 425.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.11 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 80.94 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.3641/0.5227, allocations: 52.81 MB / 0.6355 GB, free: 23.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02088/0.5437, allocations: 15.07 MB / 0.6502 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004242/0.548, allocations: 81.5 kB / 0.6503 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.5518, allocations: 0.9792 MB / 0.6512 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.5584, allocations: 2.186 MB / 0.6533 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.5641, allocations: 2.059 MB / 0.6554 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006881/0.571, allocations: 4.658 MB / 0.6599 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.5743, allocations: 1.616 MB / 0.6615 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.5798, allocations: 1.948 MB / 0.6634 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.5829, allocations: 1.404 MB / 0.6648 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007852/0.5837, allocations: 168.4 kB / 0.6649 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/0.5892, allocations: 1.849 MB / 0.6667 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.5903, allocations: 0.5178 MB / 0.6672 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.5933, allocations: 1.043 MB / 0.6682 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.6008, allocations: 3.297 MB / 0.6715 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.6009, allocations: 8.75 kB / 0.6715 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6009, allocations: 1.062 kB / 0.6715 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001282/0.601, allocations: 0 / 0.6715 GB, free: 2.227 MB / 0.4981 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.007015/0.608, allocations: 2.522 MB / 0.6739 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.6081, allocations: 13.72 kB / 0.674 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.6105, allocations: 453.1 kB / 0.6744 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.6142, allocations: 1.653 MB / 0.676 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.6146, allocations: 146.8 kB / 0.6761 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.6148, allocations: 116.5 kB / 0.6763 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.6179, allocations: 1.349 MB / 0.6776 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.6179, allocations: 6.016 kB / 0.6776 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6181, allocations: 51 kB / 0.6776 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.6181, allocations: 41.28 kB / 0.6777 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.621, allocations: 1.094 MB / 0.6787 GB, free: 14.38 MB / 0.5137 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.01126/0.6323, allocations: 6.96 MB / 0.6855 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.6349, allocations: 1.38 MB / 0.6869 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.6359, allocations: 428.6 kB / 0.6873 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006485/0.6424, allocations: 3.096 MB / 0.6903 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.6436, allocations: 456.9 kB / 0.6907 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007735/0.6444, allocations: 71.2 kB / 0.6908 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.649e-06/0.6444, allocations: 1.375 kB / 0.6908 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003498/0.6479, allocations: 1.232 MB / 0.692 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.648, allocations: 61.28 kB / 0.6921 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.6508, allocations: 1.516 MB / 0.6936 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.651, allocations: 46.89 kB / 0.6936 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000917/0.6519, allocations: 0.8849 MB / 0.6945 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.6522, allocations: 214.1 kB / 0.6947 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.6526, allocations: 203.7 kB / 0.6949 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6527, allocations: 342.7 kB / 0.6952 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.6537, allocations: 393.8 kB / 0.6956 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.655, allocations: 0.7569 MB / 0.6963 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.6572, allocations: 1.13 MB / 0.6974 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.6573, allocations: 3.625 kB / 0.6974 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003224/0.6605, allocations: 1.307 MB / 0.6987 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.6605, allocations: 40.89 kB / 0.6987 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.6606, allocations: 14.33 kB / 0.6987 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/0.6606, allocations: 19.44 kB / 0.6988 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6617, allocations: 256.1 kB / 0.699 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.312e-05/0.6617, allocations: 24.09 kB / 0.699 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.6633, allocations: 121.4 kB / 0.6991 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.6634, allocations: 53.33 kB / 0.6992 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001639/0.6651, allocations: 0.6809 MB / 0.6999 GB, free: 464 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001247/0.6663, allocations: 0.7423 MB / 0.7006 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002162/0.6685, allocations: 1.098 MB / 0.7017 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.274e-05/0.6685, allocations: 3.125 kB / 0.7017 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00309/0.6716, allocations: 1.28 MB / 0.7029 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.6717, allocations: 44.58 kB / 0.7029 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.6717, allocations: 11.06 kB / 0.703 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6717, allocations: 15 kB / 0.703 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.6727, allocations: 257 kB / 0.7032 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/0.6728, allocations: 24.73 kB / 0.7032 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.6743, allocations: 120.1 kB / 0.7034 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.6745, allocations: 52.67 kB / 0.7034 GB, free: 14.14 MB / 0.5294 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 (121): * Single equations (assignments): 119 * 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.0003681/0.6748, allocations: 243 kB / 0.7036 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.6753, allocations: 170.9 kB / 0.7038 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.6783, allocations: 1.127 MB / 0.7049 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.6784, allocations: 7.406 kB / 0.7049 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6784, allocations: 1.188 kB / 0.7049 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/0.6805, allocations: 0.9789 MB / 0.7059 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.6861, allocations: 2.405 MB / 0.7082 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6861, allocations: 64 / 0.7082 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007589/0.6869, allocations: 154.2 kB / 0.7084 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.6871, allocations: 34.66 kB / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.6872, allocations: 27.56 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.6884, allocations: 1.408 MB / 0.7098 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6885, allocations: 0 / 0.7098 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.6921, allocations: 1.575 MB / 0.7113 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009939/0.6931, allocations: 330.4 kB / 0.7116 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/0.6936, allocations: 17.8 kB / 0.7117 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.6949, allocations: 115.3 kB / 0.7118 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.695, allocations: 48.06 kB / 0.7118 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.6951, allocations: 35.12 kB / 0.7119 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001948/0.6971, allocations: 1.076 MB / 0.7129 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.6971, allocations: 0 / 0.7129 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003733/0.7008, allocations: 0.8732 MB / 0.7138 GB, free: 6.32 MB / 0.5294 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 (72): * Single equations (assignments): 63 * 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.002208/0.7031, allocations: 0.7068 MB / 0.7144 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004274/0.7074, allocations: 1.679 MB / 0.7161 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7074, allocations: 0 / 0.7161 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.7087, allocations: 0.5441 MB / 0.7166 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/0.7126, allocations: 0.7767 MB / 0.7174 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.7189, allocations: 3.721 MB / 0.721 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.7201, allocations: 1.356 MB / 0.7223 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001967/0.722, allocations: 414 kB / 0.7227 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.7225, allocations: 143.3 kB / 0.7229 GB, free: 13.06 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.7225, allocations: 0 / 0.7229 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Templates: time 0.05349/0.776, allocations: 31.05 MB / 0.7532 GB, free: 14.41 MB / 0.5762 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)