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.007206/0.007206, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001746/0.001747, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.00201/0.00201, allocations: 54.2 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, 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.004817/0.1194, allocations: 3.478 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1212, allocations: 0.9897 MB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1214, allocations: 8 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1217, allocations: 103.1 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.1222, allocations: 194.4 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1225, allocations: 119.8 kB / 378 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007132/0.1232, allocations: 0.6419 MB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.1235, allocations: 190.8 kB / 378.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.1238, allocations: 239.1 kB / 379.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.1241, allocations: 282.8 kB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.781e-05/0.1242, allocations: 52 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.1243, allocations: 56 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1244, allocations: 115.6 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.1247, allocations: 298.6 kB / 379.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000576/0.1253, allocations: 0.6345 MB / 380.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1253, allocations: 3.938 kB / 380.5 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1253, allocations: 0 / 380.5 MB, free: 9.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1253, allocations: 4 kB / 380.5 MB, free: 9.914 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.001302/0.1266, allocations: 0.8429 MB / 381.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1266, allocations: 8.031 kB / 381.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1268, allocations: 60.28 kB / 381.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.1274, allocations: 398.6 kB / 381.8 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1275, allocations: 62.91 kB / 381.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.1276, allocations: 28.38 kB / 381.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.1283, allocations: 457.1 kB / 382.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1283, allocations: 4 kB / 382.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.1284, allocations: 12 kB / 382.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1284, allocations: 8 kB / 382.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.1289, allocations: 282.5 kB / 382.7 MB, free: 7.621 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.001957/0.1309, allocations: 1.294 MB / 384 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.132, allocations: 436.5 kB / 384.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1323, allocations: 144.8 kB / 384.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1323, allocations: 7.938 kB / 384.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1324, allocations: 38.56 kB / 384.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.1324, allocations: 0 / 384.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001138/0.1335, allocations: 0.6062 MB / 385.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.1337, allocations: 445 kB / 385.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.1343, allocations: 453.9 kB / 386.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.1343, allocations: 33.7 kB / 386.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1345, allocations: 236.3 kB / 386.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.1346, allocations: 114.4 kB / 386.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.1348, allocations: 78.02 kB / 386.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1349, allocations: 346.8 kB / 386.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.1352, allocations: 116.6 kB / 387 MB, free: 3.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1355, allocations: 252.1 kB / 387.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.136, allocations: 272.6 kB / 387.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.136, allocations: 0 / 387.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006989/0.1367, allocations: 420.9 kB / 387.9 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.1368, allocations: 33.73 kB / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1368, allocations: 0 / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.137, allocations: 53.69 kB / 388 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1373, allocations: 67.91 kB / 388 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.1397, allocations: 2.964 MB / 391 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.1401, allocations: 47.56 kB / 391.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1401, allocations: 8.094 kB / 391.1 MB, free: 14.54 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.0001993/0.1403, allocations: 177.7 kB / 391.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.1404, allocations: 51.42 kB / 391.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.1405, allocations: 48.7 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1405, allocations: 4 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1405, allocations: 3.938 kB / 391.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006481/0.1412, allocations: 0.6503 MB / 392 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1425, allocations: 0.896 MB / 392.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1425, allocations: 3.938 kB / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.1429, allocations: 71.89 kB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1429, allocations: 4 kB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1429, allocations: 4 kB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1429, allocations: 7.922 kB / 393 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1429, allocations: 4 kB / 393 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.1437, allocations: 0.5083 MB / 393.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.1439, allocations: 168.4 kB / 393.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.144, allocations: 8 kB / 393.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1443, allocations: 19.98 kB / 393.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1444, allocations: 15.92 kB / 393.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1444, allocations: 19.98 kB / 393.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003603/0.1448, allocations: 315.1 kB / 394 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1448, allocations: 4.062 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.1452, allocations: 131.8 kB / 394.2 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.0001469/0.1454, allocations: 99.44 kB / 394.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.1463, allocations: 0.5707 MB / 394.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.1463, allocations: 0 / 394.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1466, allocations: 132.5 kB / 395 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.0006296/0.1472, allocations: 133.8 kB / 395.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1489, allocations: 0.872 MB / 396 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.1493, allocations: 0.8236 MB / 396.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.1496, allocations: 60.34 kB / 396.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1497, allocations: 43.44 kB / 396.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1497, allocations: 0 / 396.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Templates: time 0.01767/0.1674, allocations: 8.185 MB / 405.1 MB, free: 188 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)