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.008705/0.008705, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.002005/0.002005, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.52 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.001455/0.001455, allocations: 54.69 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006703/0.1206, allocations: 3.482 MB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1222, allocations: 0.9937 MB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1224, allocations: 7.938 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1228, allocations: 107.1 kB / 377.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.1232, allocations: 190.4 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1235, allocations: 123.8 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.1242, allocations: 0.6341 MB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.1245, allocations: 194.8 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.1248, allocations: 247.1 kB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.1251, allocations: 270.8 kB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.492e-05/0.1252, allocations: 52 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.1253, allocations: 56 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1254, allocations: 115.6 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.1256, allocations: 294.6 kB / 379.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.1262, allocations: 0.6423 MB / 380.5 MB, free: 9.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1262, allocations: 0 / 380.5 MB, free: 9.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1262, allocations: 4 kB / 380.5 MB, free: 9.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1262, allocations: 0 / 380.5 MB, free: 9.91 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.00148/0.1277, allocations: 0.8428 MB / 381.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.1278, allocations: 11.97 kB / 381.4 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.1279, allocations: 60.28 kB / 381.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.1286, allocations: 398.6 kB / 381.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.1288, allocations: 58.91 kB / 381.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.1288, allocations: 28.38 kB / 381.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.1296, allocations: 465.1 kB / 382.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1296, allocations: 0 / 382.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.1297, allocations: 12 kB / 382.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1297, allocations: 15.92 kB / 382.4 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1303, 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.002085/0.1324, allocations: 1.294 MB / 384 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1335, allocations: 436.5 kB / 384.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.1338, allocations: 140.8 kB / 384.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.1338, allocations: 4 kB / 384.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1339, allocations: 38.56 kB / 384.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.1339, allocations: 0 / 384.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001134/0.135, allocations: 0.6062 MB / 385.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.1352, allocations: 452.9 kB / 385.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.1358, allocations: 453.9 kB / 386.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1358, allocations: 29.7 kB / 386.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.136, allocations: 236.3 kB / 386.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.1361, allocations: 114.4 kB / 386.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1362, allocations: 78.02 kB / 386.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1364, allocations: 354.8 kB / 386.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.1367, allocations: 104.6 kB / 387 MB, free: 3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.137, allocations: 256 kB / 387.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1375, allocations: 272.6 kB / 387.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1375, allocations: 0 / 387.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007038/0.1382, allocations: 424.9 kB / 387.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.1383, allocations: 33.69 kB / 387.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1383, allocations: 0 / 387.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.1385, allocations: 49.7 kB / 388 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1388, allocations: 71.89 kB / 388 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.1413, allocations: 2.957 MB / 391 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.1417, allocations: 59.55 kB / 391.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.1417, 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.0002033/0.1419, allocations: 161.8 kB / 391.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.142, allocations: 51.44 kB / 391.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.1421, allocations: 52.69 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1421, allocations: 96 / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1421, allocations: 11.88 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006602/0.1428, allocations: 0.6503 MB / 392 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1441, allocations: 0.896 MB / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1441, allocations: 3.938 kB / 392.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1444, allocations: 67.91 kB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1444, allocations: 4 kB / 393 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1445, allocations: 11.92 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1445, allocations: 8 kB / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1445, allocations: 0 / 393 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.1453, allocations: 0.5083 MB / 393.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1454, allocations: 164.4 kB / 393.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.1455, allocations: 8 kB / 393.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1458, allocations: 19.98 kB / 393.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.1459, allocations: 20.03 kB / 393.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1459, allocations: 12 kB / 393.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003612/0.1463, allocations: 315.1 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1463, allocations: 0 / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.1467, 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.0001371/0.1469, allocations: 111.2 kB / 394.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000928/0.1478, allocations: 0.5591 MB / 394.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1478, allocations: 0 / 394.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1481, allocations: 132.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.0006565/0.1488, 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.001606/0.1504, allocations: 0.8758 MB / 396 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1508, allocations: 0.8158 MB / 396.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.1511, allocations: 68.34 kB / 396.8 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1512, allocations: 43.36 kB / 396.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1512, allocations: 0 / 396.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of Templates: time 0.01511/0.1663, allocations: 8.181 MB / 405.1 MB, free: 176 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)