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.0009761/0.0009762, allocations: 92.08 kB / 16.02 MB, free: 80 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.001061/0.001061, allocations: 183.6 kB / 16.92 MB, free: 6.926 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.308/1.308, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9182/0.9182, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8.969 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1754, allocations: 82.31 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.329/0.5045, allocations: 51.85 MB / 0.6392 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.5215, allocations: 15.1 MB / 0.654 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.5237, allocations: 77.69 kB / 0.6541 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.526, allocations: 0.9486 MB / 0.655 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.5308, allocations: 2.144 MB / 0.6571 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/0.5352, allocations: 2.013 MB / 0.6591 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006245/0.5415, allocations: 6.006 MB / 0.6649 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.5436, allocations: 1.349 MB / 0.6662 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.547, allocations: 1.613 MB / 0.6678 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.5492, allocations: 1.304 MB / 0.6691 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.5495, allocations: 65.88 kB / 0.6692 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.5534, allocations: 1.707 MB / 0.6708 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/0.5539, allocations: 426.8 kB / 0.6712 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.5552, allocations: 0.9287 MB / 0.6721 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.559, allocations: 2.434 MB / 0.6745 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.559, allocations: 0 / 0.6745 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.559, allocations: 0 / 0.6745 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.938e-05/0.559, allocations: 5.156 kB / 0.6745 GB, free: 3.281 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.004432/0.5635, allocations: 2.165 MB / 0.6766 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5635, allocations: 9.531 kB / 0.6766 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.5658, allocations: 488.9 kB / 0.6771 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.569, allocations: 1.658 MB / 0.6787 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003911/0.5694, allocations: 163.5 kB / 0.6789 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.5696, allocations: 120.4 kB / 0.679 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.5724, allocations: 1.369 MB / 0.6803 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.5724, allocations: 5.156 kB / 0.6803 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.5725, allocations: 52.08 kB / 0.6804 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.5726, allocations: 41.19 kB / 0.6804 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.5755, allocations: 1.136 MB / 0.6815 GB, free: 15.64 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.01018/0.5857, allocations: 6.995 MB / 0.6884 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.5883, allocations: 1.427 MB / 0.6898 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.5893, allocations: 445.8 kB / 0.6902 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005603/0.5949, allocations: 3.133 MB / 0.6932 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.596, allocations: 462.9 kB / 0.6937 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005786/0.5966, allocations: 84.45 kB / 0.6938 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/0.5966, allocations: 0 / 0.6938 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003168/0.5998, allocations: 1.273 MB / 0.695 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5999, allocations: 62.09 kB / 0.6951 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.602, allocations: 1.519 MB / 0.6966 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.6021, allocations: 39.52 kB / 0.6966 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007621/0.6029, allocations: 0.8831 MB / 0.6975 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6031, allocations: 219.4 kB / 0.6977 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6032, allocations: 89.31 kB / 0.6977 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6033, allocations: 347.1 kB / 0.6981 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.6043, allocations: 395.5 kB / 0.6985 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.6056, allocations: 0.7765 MB / 0.6992 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.6078, allocations: 1.156 MB / 0.7003 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.6078, allocations: 3.312 kB / 0.7003 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002921/0.6107, allocations: 1.342 MB / 0.7017 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/0.611, allocations: 440.2 kB / 0.7021 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.611, allocations: 15.06 kB / 0.7021 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.6111, allocations: 16.06 kB / 0.7021 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6121, allocations: 266.9 kB / 0.7024 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.6121, allocations: 19.84 kB / 0.7024 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.6136, allocations: 128.6 kB / 0.7025 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.6137, allocations: 52.86 kB / 0.7026 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.6137, allocations: 3.875 kB / 0.7026 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002534/0.6162, allocations: 1.142 MB / 0.7037 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6163, allocations: 11.31 kB / 0.7037 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.6163, allocations: 24.14 kB / 0.7037 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/0.6173, allocations: 264.8 kB / 0.704 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/0.6173, allocations: 21.09 kB / 0.704 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.6187, allocations: 129.7 kB / 0.7041 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.6188, allocations: 53.45 kB / 0.7042 GB, free: 388 kB / 0.5137 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.0009797/0.6198, allocations: 479 kB / 0.7046 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.6201, allocations: 165.9 kB / 0.7048 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.6228, allocations: 1.155 MB / 0.7059 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.6228, allocations: 8.125 kB / 0.7059 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6228, allocations: 4 kB / 0.7059 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001998/0.6248, allocations: 1.001 MB / 0.7069 GB, free: 14.69 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.004868/0.6297, allocations: 2.444 MB / 0.7093 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6297, allocations: 8.047 kB / 0.7093 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.6305, allocations: 168.8 kB / 0.7094 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/0.6307, allocations: 28.5 kB / 0.7095 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.6307, allocations: 18.7 kB / 0.7095 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009603/0.6317, allocations: 1.317 MB / 0.7108 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6317, allocations: 6.047 kB / 0.7108 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.6349, allocations: 1.612 MB / 0.7124 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/0.6356, allocations: 340.1 kB / 0.7127 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.6359, allocations: 15.38 kB / 0.7127 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.6368, allocations: 112.8 kB / 0.7128 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.637, allocations: 64.17 kB / 0.7129 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.6371, allocations: 30.56 kB / 0.7129 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001517/0.6386, allocations: 1.078 MB / 0.7139 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6386, allocations: 0 / 0.7139 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002972/0.6416, allocations: 0.8707 MB / 0.7148 GB, free: 8.969 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 (71): * Single equations (assignments): 62 * 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.001785/0.6434, allocations: 0.7141 MB / 0.7155 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.647, allocations: 1.644 MB / 0.7171 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.647, allocations: 0 / 0.7171 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.6482, allocations: 0.5583 MB / 0.7176 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.6522, allocations: 0.7333 MB / 0.7184 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.6581, allocations: 3.857 MB / 0.7221 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/0.6591, allocations: 1.356 MB / 0.7234 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.6596, allocations: 151.3 kB / 0.7236 GB, free: 24 kB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.6596, allocations: 0 / 0.7236 GB, free: 24 kB / 0.5294 GB Notification: Performance of Templates: time 0.04428/0.7039, allocations: 32.67 MB / 0.7555 GB, free: 15.57 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)