Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007889/0.007888, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001654/0.001654, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001961/0.001961, allocations: 59 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005772/0.1388, allocations: 3.489 MB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1411, allocations: 0.9897 MB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.1417, allocations: 4 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.1423, allocations: 107.1 kB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.1431, allocations: 190.4 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1436, allocations: 123.8 kB / 378.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1446, allocations: 0.6341 MB / 378.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.145, allocations: 190.8 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.1453, allocations: 243.1 kB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1456, allocations: 278.8 kB / 379.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.642e-05/0.1457, allocations: 56 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.1458, allocations: 52 kB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.146, allocations: 111.6 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1463, allocations: 298.6 kB / 379.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.147, allocations: 0.6462 MB / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.147, allocations: 0 / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.147, allocations: 0 / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.147, allocations: 0 / 380.5 MB, free: 9.902 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001463/0.1485, allocations: 0.8351 MB / 381.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1486, allocations: 16.02 kB / 381.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1487, allocations: 60.28 kB / 381.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.1493, allocations: 398.6 kB / 381.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1494, allocations: 54.92 kB / 381.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.1495, allocations: 32.38 kB / 381.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.1502, allocations: 465 kB / 382.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1502, allocations: 0 / 382.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.1503, allocations: 20 kB / 382.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1503, allocations: 4 kB / 382.4 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.1509, allocations: 278.5 kB / 382.7 MB, free: 7.609 MB / 318.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.002038/0.1529, allocations: 1.294 MB / 384 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1541, allocations: 440.5 kB / 384.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.1544, allocations: 140.7 kB / 384.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.1544, allocations: 7.984 kB / 384.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1545, allocations: 38.56 kB / 384.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.1545, allocations: 0 / 384.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00117/0.1556, allocations: 0.6062 MB / 385.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.1558, allocations: 449 kB / 385.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.1563, allocations: 453.9 kB / 386.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.1564, allocations: 33.7 kB / 386.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1566, allocations: 236.3 kB / 386.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.1567, allocations: 110.4 kB / 386.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1568, allocations: 74.03 kB / 386.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1569, allocations: 362.8 kB / 386.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.1572, allocations: 100.6 kB / 387 MB, free: 2.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.1575, allocations: 256.1 kB / 387.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.158, allocations: 272.6 kB / 387.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1581, allocations: 0 / 387.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007066/0.1588, allocations: 425 kB / 387.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.1588, allocations: 29.7 kB / 387.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1588, allocations: 4 kB / 387.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.159, allocations: 49.69 kB / 388 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.1593, allocations: 67.91 kB / 388 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.1618, allocations: 2.965 MB / 391 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.1622, allocations: 51.56 kB / 391.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.1623, allocations: 12 kB / 391.1 MB, free: 14.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.1625, allocations: 165.8 kB / 391.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.1626, allocations: 51.44 kB / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.1627, allocations: 52.78 kB / 391.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1627, allocations: 3.938 kB / 391.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1627, allocations: 7.938 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006779/0.1634, allocations: 0.6464 MB / 392 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1648, allocations: 0.896 MB / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1648, allocations: 7.938 kB / 392.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.1651, allocations: 71.89 kB / 393 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1651, allocations: 0 / 393 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1652, allocations: 7.938 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1652, allocations: 4 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1652, allocations: 0 / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.166, allocations: 0.5122 MB / 393.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.1663, allocations: 164.4 kB / 393.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.1663, allocations: 8 kB / 393.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.1666, allocations: 19.98 kB / 393.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1667, allocations: 15.92 kB / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1667, allocations: 15.98 kB / 393.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.1671, allocations: 319.2 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1671, allocations: 0 / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.1676, allocations: 131.8 kB / 394.1 MB, free: 11.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001538/0.1677, allocations: 107.2 kB / 394.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1688, allocations: 0.5668 MB / 394.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.1688, allocations: 4 kB / 394.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.1691, allocations: 124.4 kB / 394.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.1698, allocations: 145.9 kB / 395.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1715, allocations: 0.8641 MB / 396 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1719, allocations: 0.8197 MB / 396.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.1721, allocations: 68.33 kB / 396.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1723, allocations: 39.44 kB / 396.9 MB, free: 8.379 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1723, allocations: 4 kB / 396.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of Templates: time 0.0174/0.1897, allocations: 8.189 MB / 405.1 MB, free: 172 kB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)