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.001383/0.001383, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 195 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.19 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4079, allocations: 80.21 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05048/0.4584, allocations: 53.26 MB / 0.6321 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.4805, allocations: 15.2 MB / 0.6469 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.484, allocations: 87.5 kB / 0.647 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.4876, allocations: 1.111 MB / 0.6481 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.4941, allocations: 2.344 MB / 0.6504 GB, free: 9.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005641/0.4997, allocations: 2.251 MB / 0.6526 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00614/0.5059, allocations: 4.61 MB / 0.6571 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.5087, allocations: 1.635 MB / 0.6587 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.5135, allocations: 1.896 MB / 0.6605 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.5161, allocations: 1.353 MB / 0.6619 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006471/0.5167, allocations: 168 kB / 0.662 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.5209, allocations: 1.837 MB / 0.6638 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008819/0.5218, allocations: 0.5216 MB / 0.6643 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.5239, allocations: 1.034 MB / 0.6653 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006092/0.5301, allocations: 3.283 MB / 0.6685 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5301, allocations: 0 / 0.6685 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5301, allocations: 3.938 kB / 0.6686 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001229/0.5302, allocations: 0 / 0.6686 GB, free: 6.684 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.005974/0.5362, allocations: 2.529 MB / 0.671 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5362, allocations: 8.031 kB / 0.671 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.5386, allocations: 449.3 kB / 0.6715 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.5421, allocations: 1.608 MB / 0.673 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.5425, allocations: 142.4 kB / 0.6732 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.5428, allocations: 124 kB / 0.6733 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.5456, allocations: 1.343 MB / 0.6746 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.5457, allocations: 4 kB / 0.6746 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5458, allocations: 55.92 kB / 0.6747 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.5458, allocations: 46 kB / 0.6747 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.5486, allocations: 1.078 MB / 0.6757 GB, free: 15.08 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.009696/0.5583, allocations: 7.138 MB / 0.6827 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.5607, allocations: 1.362 MB / 0.684 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009503/0.5617, allocations: 418.9 kB / 0.6844 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005023/0.5667, allocations: 3.087 MB / 0.6875 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.5678, allocations: 446.8 kB / 0.6879 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.876e-06/0.5678, allocations: 0 / 0.6879 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003172/0.571, allocations: 1.221 MB / 0.6891 GB, free: 396 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5711, allocations: 63.89 kB / 0.6891 GB, free: 320 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.5733, allocations: 1.537 MB / 0.6906 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.5734, allocations: 41.7 kB / 0.6907 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007112/0.5741, allocations: 0.88 MB / 0.6915 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.5743, allocations: 216.9 kB / 0.6917 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.5746, allocations: 202.4 kB / 0.6919 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5747, allocations: 341.9 kB / 0.6923 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009245/0.5757, allocations: 388.6 kB / 0.6926 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.5768, allocations: 0.7553 MB / 0.6934 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.5789, allocations: 1.128 MB / 0.6945 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.5789, allocations: 7.938 kB / 0.6945 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002845/0.5817, allocations: 1.29 MB / 0.6957 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.5818, allocations: 37.7 kB / 0.6958 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.5818, allocations: 8.625 kB / 0.6958 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.5819, allocations: 24 kB / 0.6958 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.5828, allocations: 255.6 kB / 0.6961 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.5829, allocations: 19.94 kB / 0.6961 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.5841, allocations: 147.7 kB / 0.6962 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.459e-05/0.5842, allocations: 55.92 kB / 0.6963 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00142/0.5856, allocations: 0.6737 MB / 0.6969 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.5867, allocations: 0.7436 MB / 0.6977 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001987/0.5887, allocations: 1.093 MB / 0.6987 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.746e-06/0.5888, allocations: 4 kB / 0.6987 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002838/0.5916, allocations: 1.266 MB / 0.7 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.5917, allocations: 45.83 kB / 0.7 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5917, allocations: 12 kB / 0.7 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5917, allocations: 16 kB / 0.7 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.5926, allocations: 255.6 kB / 0.7003 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.5927, allocations: 23.92 kB / 0.7003 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.5938, allocations: 120 kB / 0.7004 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.594, allocations: 51.98 kB / 0.7005 GB, free: 3.98 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 (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.0002771/0.5942, allocations: 247.8 kB / 0.7007 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.5946, allocations: 161.9 kB / 0.7009 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.5973, allocations: 1.116 MB / 0.7019 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5973, allocations: 8 kB / 0.7019 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5973, allocations: 0 / 0.7019 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001901/0.5993, allocations: 0.9742 MB / 0.7029 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004943/0.6042, allocations: 2.42 MB / 0.7053 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6042, allocations: 0 / 0.7053 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.605, allocations: 155.8 kB / 0.7054 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.6052, allocations: 28.83 kB / 0.7054 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.6052, allocations: 23.98 kB / 0.7055 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.6063, allocations: 1.414 MB / 0.7068 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6063, allocations: 3.938 kB / 0.7068 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.6096, allocations: 1.549 MB / 0.7084 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.6103, allocations: 346.6 kB / 0.7087 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.6106, allocations: 15.94 kB / 0.7087 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/0.6116, allocations: 59.88 kB / 0.7088 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6117, allocations: 56.48 kB / 0.7088 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.6118, allocations: 27.98 kB / 0.7088 GB, free: 11.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001802/0.6136, allocations: 1.097 MB / 0.7099 GB, free: 9.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6136, allocations: 0 / 0.7099 GB, free: 9.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002558/0.6162, allocations: 0.8537 MB / 0.7107 GB, free: 9.086 MB / 0.545 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.001825/0.618, allocations: 0.7351 MB / 0.7115 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00401/0.6221, allocations: 1.67 MB / 0.7131 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6221, allocations: 0 / 0.7131 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.6233, allocations: 0.5425 MB / 0.7136 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.6271, allocations: 0.7635 MB / 0.7144 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.6329, allocations: 3.089 MB / 0.7174 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.6341, allocations: 1.352 MB / 0.7187 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001887/0.636, allocations: 416.6 kB / 0.7191 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.6364, allocations: 139.4 kB / 0.7192 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.6364, allocations: 0 / 0.7192 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of Templates: time 0.05043/0.6868, allocations: 31.48 MB / 0.75 GB, free: 1.453 MB / 0.5762 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)