Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.007993/0.007993, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001747/0.001747, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.00127/0.00127, allocations: 46.34 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1199, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005878/0.1258, allocations: 3.489 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1282, allocations: 0.9936 MB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.1288, allocations: 4 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.1293, allocations: 103.1 kB / 377.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006422/0.13, allocations: 190.4 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.1304, allocations: 123.8 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1315, allocations: 0.6302 MB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.1319, allocations: 198.8 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.1322, allocations: 235.1 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.1327, allocations: 278.8 kB / 379.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1329, allocations: 59.94 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.133, allocations: 52 kB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1332, allocations: 123.6 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.1336, allocations: 294.6 kB / 379.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.1343, allocations: 0.6384 MB / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1344, allocations: 0 / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1344, allocations: 0 / 380.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.513e-05/0.1344, 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.001767/0.1362, allocations: 0.8429 MB / 381.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1362, allocations: 8.031 kB / 381.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1364, allocations: 60.28 kB / 381.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.1372, allocations: 398.6 kB / 381.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.1373, allocations: 62.91 kB / 381.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.1374, allocations: 28.38 kB / 381.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.1382, allocations: 461.1 kB / 382.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1382, allocations: 0 / 382.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.1383, allocations: 16 kB / 382.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1383, allocations: 8 kB / 382.4 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.1389, allocations: 282.5 kB / 382.7 MB, free: 7.605 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.002429/0.1414, allocations: 1.29 MB / 384 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1427, allocations: 440.5 kB / 384.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.143, allocations: 140.8 kB / 384.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.1431, allocations: 15.92 kB / 384.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1431, allocations: 38.56 kB / 384.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.1431, allocations: 0 / 384.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001552/0.1447, allocations: 0.5985 MB / 385.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003341/0.145, allocations: 452.9 kB / 385.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.1457, allocations: 457.9 kB / 386.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.1458, allocations: 33.7 kB / 386.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.1461, allocations: 232.3 kB / 386.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1463, allocations: 110.4 kB / 386.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.1465, allocations: 70.02 kB / 386.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.1468, allocations: 358.8 kB / 386.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.1471, allocations: 112.6 kB / 387 MB, free: 2.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.1476, allocations: 248.1 kB / 387.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.1481, allocations: 276.6 kB / 387.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1481, allocations: 0 / 387.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00085/0.149, allocations: 416.9 kB / 387.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.149, allocations: 37.69 kB / 387.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1491, allocations: 4.125 kB / 387.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.1492, allocations: 53.64 kB / 388 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.1496, allocations: 67.89 kB / 388 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.1527, allocations: 2.957 MB / 391 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.1531, allocations: 51.56 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.1532, allocations: 11.98 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.0002919/0.1535, allocations: 173.8 kB / 391.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1536, allocations: 47.44 kB / 391.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.1538, allocations: 52.69 kB / 391.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1538, allocations: 4 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1538, allocations: 11.88 kB / 391.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008272/0.1546, allocations: 0.6425 MB / 392 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1561, allocations: 0.9038 MB / 392.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1561, allocations: 3.938 kB / 392.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.1565, allocations: 67.91 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1565, allocations: 0 / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.1565, allocations: 11.98 kB / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1565, allocations: 3.938 kB / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1565, allocations: 0 / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.1574, allocations: 0.5083 MB / 393.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.1577, allocations: 168.4 kB / 393.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.1578, allocations: 8 kB / 393.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.1581, allocations: 15.98 kB / 393.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.1582, allocations: 19.97 kB / 393.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.1582, allocations: 8 kB / 393.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.1586, allocations: 319.1 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1586, allocations: 0 / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000486/0.1591, allocations: 135.9 kB / 394.1 MB, free: 11.21 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.0001512/0.1593, allocations: 107.2 kB / 394.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1603, allocations: 0.5629 MB / 394.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1603, allocations: 0 / 394.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1606, allocations: 132.5 kB / 394.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.1613, allocations: 141.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.001865/0.1632, allocations: 0.868 MB / 395.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.1637, allocations: 0.8236 MB / 396.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.164, allocations: 56.36 kB / 396.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1641, allocations: 51.36 kB / 396.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1642, allocations: 0 / 396.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of Templates: time 0.01622/0.1804, allocations: 8.189 MB / 405.1 MB, free: 168 kB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)