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.006206/0.006205, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00122/0.001221, allocations: 195.1 kB / 16.68 MB, free: 5.926 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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001273/0.001273, allocations: 53.36 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 46.62 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006613/0.109, allocations: 5.598 MB / 378.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.112, allocations: 1.465 MB / 380.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.1124, allocations: 15.94 kB / 380.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004888/0.1129, allocations: 190.3 kB / 380.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.1136, allocations: 380.7 kB / 380.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.1141, allocations: 271.6 kB / 381.1 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.1155, allocations: 1.359 MB / 382.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.1161, allocations: 415.1 kB / 382.8 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.1165, allocations: 0.5138 MB / 383.3 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.1172, allocations: 0.5835 MB / 383.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1173, allocations: 116 kB / 384 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1175, allocations: 120 kB / 384.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.1178, allocations: 259.1 kB / 384.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.1183, allocations: 0.6105 MB / 385 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1196, allocations: 1.401 MB / 386.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.1196, allocations: 4 kB / 386.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1196, allocations: 0 / 386.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1196, allocations: 0 / 386.4 MB, free: 4.078 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.002664/0.1223, allocations: 1.481 MB / 387.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1224, allocations: 12.03 kB / 387.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1226, allocations: 127.6 kB / 388 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1236, allocations: 0.6342 MB / 388.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.1238, allocations: 147.7 kB / 388.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1239, allocations: 76.38 kB / 388.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1255, allocations: 0.9744 MB / 389.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1256, allocations: 0 / 389.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.1256, allocations: 39.94 kB / 389.9 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.1257, allocations: 16 kB / 389.9 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.1269, allocations: 0.6246 MB / 390.5 MB, free: 15.71 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.004019/0.131, allocations: 2.62 MB / 393.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.1335, allocations: 0.861 MB / 394 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.1342, allocations: 354.7 kB / 394.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.1343, allocations: 16.64 kB / 394.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1343, allocations: 47.22 kB / 394.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/0.1343, allocations: 0 / 394.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002579/0.1369, allocations: 1.404 MB / 395.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004477/0.1373, allocations: 0.9489 MB / 396.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/0.1383, allocations: 0.7902 MB / 397.6 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.1384, allocations: 45.7 kB / 397.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.1387, allocations: 412.5 kB / 398 MB, free: 7.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.1389, allocations: 248.3 kB / 398.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.1392, allocations: 162.6 kB / 398.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1393, allocations: 334 kB / 398.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.1398, allocations: 257.8 kB / 399 MB, free: 6.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/0.1407, allocations: 0.5841 MB / 399.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.1419, allocations: 0.664 MB / 400.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.1419, allocations: 7.938 kB / 400.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001664/0.1436, allocations: 0.9469 MB / 401.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.1436, allocations: 86.2 kB / 401.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1437, allocations: 4.125 kB / 401.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.144, allocations: 124.2 kB / 401.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.1447, allocations: 151.8 kB / 401.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/0.1502, allocations: 7.333 MB / 408.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.1512, allocations: 107 kB / 409 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.1513, allocations: 31.98 kB / 409 MB, free: 11.7 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.0004093/0.1517, allocations: 241.7 kB / 409.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.1518, allocations: 98.88 kB / 409.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.152, allocations: 100.9 kB / 409.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1521, allocations: 8 kB / 409.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1521, allocations: 0 / 409.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001379/0.1535, allocations: 0.9777 MB / 410.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.1562, allocations: 1.741 MB / 412.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1562, allocations: 3.938 kB / 412.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007373/0.157, allocations: 155.8 kB / 412.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.775e-05/0.1571, allocations: 24.84 kB / 412.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.1571, allocations: 15.98 kB / 412.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.1582, allocations: 1.403 MB / 413.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1582, allocations: 0 / 413.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.1601, allocations: 1.081 MB / 414.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.1606, allocations: 263.7 kB / 415.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1607, allocations: 16 kB / 415.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.1613, allocations: 39.97 kB / 415.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1615, allocations: 44.59 kB / 415.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.1615, allocations: 19.98 kB / 415.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008333/0.1623, allocations: 0.5459 MB / 415.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1624, allocations: 0 / 415.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00101/0.1634, allocations: 295.6 kB / 416.1 MB, free: 4.273 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.0002164/0.1636, allocations: 135 kB / 416.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.166, allocations: 1.386 MB / 417.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.166, allocations: 4 kB / 417.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.1667, allocations: 426.3 kB / 418 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1679, allocations: 279.2 kB / 418.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.1709, allocations: 1.68 MB / 420 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.1715, allocations: 0.9758 MB / 421 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.172, allocations: 123.5 kB / 421.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.1723, allocations: 79.42 kB / 421.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1723, allocations: 8 kB / 421.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Templates: time 0.02973/0.202, allocations: 18.29 MB / 439.4 MB, free: 12.68 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)