Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00513/0.00513, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001172/0.001172, allocations: 189.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 4.367 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 49.67 kB / 326.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 46.63 MB / 373.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006686/0.1087, allocations: 5.599 MB / 378.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.1118, allocations: 1.465 MB / 380.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005483/0.1123, allocations: 15.94 kB / 380.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.1129, allocations: 194.3 kB / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.1138, allocations: 380.8 kB / 380.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.1144, allocations: 263.6 kB / 381.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1158, allocations: 1.359 MB / 382.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.1164, allocations: 423.1 kB / 382.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.1171, allocations: 0.5138 MB / 383.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.1178, allocations: 0.5835 MB / 383.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.1179, allocations: 116 kB / 384 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1181, allocations: 124 kB / 384.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.1184, allocations: 259.1 kB / 384.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.119, allocations: 0.6105 MB / 385 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1204, allocations: 1.401 MB / 386.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1205, allocations: 0 / 386.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1205, allocations: 0 / 386.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.1205, allocations: 0 / 386.4 MB, free: 4.047 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002898/0.1234, allocations: 1.515 MB / 387.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1235, allocations: 12.03 kB / 388 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1237, allocations: 132.2 kB / 388.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1248, allocations: 0.6427 MB / 388.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.125, allocations: 159.6 kB / 388.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1251, allocations: 72.31 kB / 389 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.1266, allocations: 0.9782 MB / 389.9 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1266, allocations: 0 / 389.9 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.1267, allocations: 36 kB / 390 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1267, allocations: 16 kB / 390 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.1281, allocations: 0.6168 MB / 390.6 MB, free: 15.63 MB / 334.1 MB 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.004308/0.1324, allocations: 2.625 MB / 393.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.1349, allocations: 0.8646 MB / 394.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.1356, allocations: 346.7 kB / 394.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.1357, allocations: 16.62 kB / 394.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.1357, allocations: 51.22 kB / 394.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.775e-06/0.1357, allocations: 4 kB / 394.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.003196/0.1389, allocations: 1.405 MB / 395.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005078/0.1394, allocations: 0.9528 MB / 396.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.1407, allocations: 0.7903 MB / 397.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.1408, allocations: 49.7 kB / 397.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.1412, allocations: 405.5 kB / 398.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.1415, allocations: 269.6 kB / 398.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.1417, allocations: 158.7 kB / 398.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1419, allocations: 330 kB / 398.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.1425, allocations: 261.8 kB / 399.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.1435, allocations: 0.5841 MB / 399.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1447, allocations: 0.6638 MB / 400.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1447, allocations: 0 / 400.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001699/0.1464, allocations: 0.9592 MB / 401.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.1465, allocations: 89.09 kB / 401.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1465, allocations: 4 kB / 401.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.1469, allocations: 132.1 kB / 401.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.1476, allocations: 151.8 kB / 401.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/0.1535, allocations: 7.321 MB / 409 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.1547, allocations: 111.3 kB / 409.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.1548, allocations: 28 kB / 409.1 MB, free: 11.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004897/0.1553, allocations: 233.7 kB / 409.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.1555, allocations: 107.4 kB / 409.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1557, allocations: 100.9 kB / 409.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1557, allocations: 7.984 kB / 409.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.1557, allocations: 12 kB / 409.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/0.1572, allocations: 0.9621 MB / 410.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.1601, allocations: 1.752 MB / 412.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1601, allocations: 3.938 kB / 412.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.1608, allocations: 151.8 kB / 412.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.1609, allocations: 28.84 kB / 412.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.161, allocations: 16 kB / 412.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009177/0.1619, allocations: 1.407 MB / 413.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1619, allocations: 0 / 413.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.164, allocations: 1.078 MB / 415 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.1644, allocations: 268.2 kB / 415.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.1646, allocations: 23.98 kB / 415.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.1652, allocations: 35.97 kB / 415.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.1653, allocations: 44.59 kB / 415.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.1653, allocations: 20 kB / 415.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006525/0.166, allocations: 0.5575 MB / 415.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.166, allocations: 0 / 415.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007851/0.1668, allocations: 287.8 kB / 416.2 MB, free: 4.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001904/0.167, allocations: 119.1 kB / 416.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.1691, allocations: 1.401 MB / 417.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1691, allocations: 4 kB / 417.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.1698, allocations: 422.6 kB / 418.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.1709, allocations: 283 kB / 418.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.1738, allocations: 1.709 MB / 420.1 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.1744, allocations: 0.9797 MB / 421.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006258/0.175, allocations: 131.5 kB / 421.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.1752, allocations: 75.42 kB / 421.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1752, allocations: 0 / 421.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Templates: time 0.03123/0.2065, allocations: 17.82 MB / 439.1 MB, free: 12.99 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)