Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001358/0.001358, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.001391/0.001391, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.531/1.531, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.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.001836/0.001836, allocations: 44.31 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005155/0.1213, allocations: 3.519 MB / 329.5 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1231, allocations: 0.9826 MB / 330.5 MB, free: 340 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.1234, allocations: 7.938 kB / 330.5 MB, free: 332 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1238, allocations: 91.44 kB / 330.6 MB, free: 240 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1241, allocations: 154.7 kB / 330.7 MB, free: 84 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1244, allocations: 107.9 kB / 330.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.125, allocations: 0.6184 MB / 331.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.1252, allocations: 170.9 kB / 331.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1254, allocations: 223.1 kB / 331.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.1257, allocations: 266.8 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.1258, allocations: 36 kB / 332.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.1259, allocations: 40 kB / 332.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.126, allocations: 111.5 kB / 332.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.1262, allocations: 274.7 kB / 332.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.1267, allocations: 0.6151 MB / 333.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1267, allocations: 0 / 333.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1267, allocations: 0 / 333.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1267, allocations: 0 / 333.1 MB, free: 13.64 MB / 286.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.001334/0.1281, allocations: 0.8429 MB / 334 MB, free: 12.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1281, allocations: 12.03 kB / 334 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1282, allocations: 64.19 kB / 334.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.1287, allocations: 382.7 kB / 334.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.1288, allocations: 62.91 kB / 334.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.1289, allocations: 36.28 kB / 334.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.1295, allocations: 461.1 kB / 335 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1296, allocations: 0 / 335 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.1296, allocations: 16 kB / 335 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1296, allocations: 8 kB / 335 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005288/0.1302, allocations: 286.4 kB / 335.3 MB, free: 11.34 MB / 286.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.001888/0.1321, allocations: 1.294 MB / 336.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1332, allocations: 444.3 kB / 337 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1335, allocations: 136.8 kB / 337.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1335, allocations: 8 kB / 337.2 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1335, allocations: 46.55 kB / 337.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.1336, allocations: 0 / 337.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001096/0.1347, allocations: 0.5984 MB / 337.8 MB, free: 8.641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.1348, allocations: 444.9 kB / 338.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.1353, allocations: 457.9 kB / 338.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.1353, allocations: 37.7 kB / 338.7 MB, free: 7.602 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1355, allocations: 232.4 kB / 338.9 MB, free: 7.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1356, allocations: 106.5 kB / 339 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1357, allocations: 73.92 kB / 339.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1359, allocations: 358.8 kB / 339.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.1361, allocations: 104.6 kB / 339.6 MB, free: 6.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.1364, allocations: 252.1 kB / 339.8 MB, free: 6.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.1369, allocations: 284.3 kB / 340.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1369, allocations: 3.938 kB / 340.1 MB, free: 6.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006882/0.1376, allocations: 420.9 kB / 340.5 MB, free: 5.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.1377, allocations: 37.69 kB / 340.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1377, allocations: 0 / 340.5 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.1378, allocations: 53.73 kB / 340.6 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.1382, allocations: 63.89 kB / 340.7 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.1405, allocations: 2.736 MB / 343.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.1408, allocations: 47.75 kB / 343.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1409, allocations: 16 kB / 343.5 MB, free: 2.477 MB / 286.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.0001864/0.1411, allocations: 161.9 kB / 343.6 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.1412, allocations: 55.42 kB / 343.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.031e-05/0.1412, allocations: 56.62 kB / 343.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1413, allocations: 7.938 kB / 343.7 MB, free: 2.191 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1413, allocations: 0 / 343.7 MB, free: 2.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006506/0.1419, allocations: 0.6454 MB / 344.4 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.1431, allocations: 0.912 MB / 345.3 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1432, allocations: 0 / 345.3 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.1435, allocations: 67.89 kB / 345.4 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1435, allocations: 4 kB / 345.4 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1435, allocations: 8 kB / 345.4 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1435, allocations: 4 kB / 345.4 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1436, allocations: 0 / 345.4 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.1444, allocations: 0.5191 MB / 345.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.1446, allocations: 160.5 kB / 346.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.1446, allocations: 8 kB / 346.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.145, allocations: 20.05 kB / 346.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.145, allocations: 19.92 kB / 346.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.145, allocations: 8 kB / 346.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.1454, allocations: 323.1 kB / 346.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1454, allocations: 3.938 kB / 346.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.1458, allocations: 131.8 kB / 346.6 MB, free: 15.18 MB / 302.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.0001359/0.146, allocations: 103.2 kB / 346.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009459/0.1469, allocations: 0.5668 MB / 347.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.147, allocations: 0 / 347.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.1472, allocations: 119.9 kB / 347.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.1479, allocations: 136.9 kB / 347.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.1495, allocations: 1.03 MB / 348.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1499, allocations: 0.8198 MB / 349.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.1501, allocations: 60.34 kB / 349.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1503, allocations: 47.42 kB / 349.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1503, allocations: 0 / 349.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01349/0.1638, allocations: 7.65 MB / 357.1 MB, free: 4.547 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)