Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005744/0.005744, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001223/0.001223, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.4/1.4, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001175/0.001175, allocations: 51.36 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1001, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005122/0.1052, allocations: 3.655 MB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1075, allocations: 1.017 MB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.108, allocations: 4 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.1085, allocations: 115 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006672/0.1092, allocations: 186.3 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.1098, allocations: 139.8 kB / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.1111, allocations: 0.6847 MB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.1116, allocations: 194.2 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.1122, allocations: 259.1 kB / 379.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.1128, allocations: 294.7 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.113, allocations: 60 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.1132, allocations: 56 kB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1134, allocations: 123.6 kB / 379.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.1138, allocations: 310.5 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.1148, allocations: 0.6926 MB / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1148, allocations: 0 / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1149, allocations: 0 / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1149, allocations: 4 kB / 380.9 MB, free: 9.516 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001857/0.1167, allocations: 0.9085 MB / 381.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.1168, allocations: 11.97 kB / 381.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.1169, allocations: 72.56 kB / 381.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.1178, allocations: 438.8 kB / 382.3 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1179, allocations: 58.91 kB / 382.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.118, allocations: 32.38 kB / 382.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.1189, allocations: 485.1 kB / 382.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.119, allocations: 4 kB / 382.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.119, allocations: 16 kB / 382.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.119, allocations: 11.94 kB / 382.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.1198, allocations: 342.3 kB / 383.3 MB, free: 7.008 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.001958/0.1218, allocations: 1.287 MB / 384.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.1226, allocations: 379.4 kB / 384.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.123, allocations: 184.7 kB / 385.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.123, allocations: 7.984 kB / 385.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1231, allocations: 50.48 kB / 385.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.546e-06/0.1231, allocations: 0 / 385.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001572/0.1247, allocations: 0.7239 MB / 385.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.1249, allocations: 449 kB / 386.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.1254, allocations: 450 kB / 386.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1254, allocations: 37.7 kB / 386.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.1257, allocations: 244.7 kB / 387 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1258, allocations: 126.8 kB / 387.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.126, allocations: 69.7 kB / 387.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1261, allocations: 366.7 kB / 387.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.1265, allocations: 139.9 kB / 387.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.127, allocations: 286.5 kB / 388 MB, free: 1.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.1277, allocations: 333.2 kB / 388.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1277, allocations: 4 kB / 388.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009527/0.1287, allocations: 490.1 kB / 388.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.1287, allocations: 29.7 kB / 388.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1287, allocations: 0 / 388.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.1289, allocations: 53.62 kB / 388.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.1293, allocations: 79.95 kB / 389 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.1319, allocations: 2.966 MB / 391.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.1323, allocations: 55.75 kB / 392 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1324, allocations: 19.94 kB / 392 MB, free: 13.56 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 (37): * Single equations (assignments): 34 * 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.0002119/0.1326, allocations: 169.8 kB / 392.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.1327, allocations: 51.72 kB / 392.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1328, allocations: 52.75 kB / 392.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1328, allocations: 4 kB / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1328, allocations: 0 / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009877/0.1338, allocations: 0.7309 MB / 393 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1353, allocations: 1.024 MB / 394 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1354, allocations: 0 / 394 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.1358, allocations: 79.94 kB / 394.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1358, allocations: 3.938 kB / 394.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1358, allocations: 15.88 kB / 394.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1358, allocations: 0 / 394.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1358, allocations: 0 / 394.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.137, allocations: 0.6488 MB / 394.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.1372, allocations: 172.6 kB / 394.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.1373, allocations: 16.17 kB / 395 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.1377, allocations: 28.03 kB / 395 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.1377, allocations: 27.83 kB / 395 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1378, allocations: 15.97 kB / 395 MB, free: 10.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.1381, allocations: 323.1 kB / 395.4 MB, free: 10 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1381, allocations: 0 / 395.4 MB, free: 10 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.1386, allocations: 135.9 kB / 395.5 MB, free: 9.871 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 (35): * Single equations (assignments): 35 * 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.0001338/0.1387, allocations: 111.5 kB / 395.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1399, allocations: 0.6332 MB / 396.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1399, allocations: 7.938 kB / 396.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.1403, allocations: 175.8 kB / 396.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.1409, allocations: 141.9 kB / 396.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1424, allocations: 0.9288 MB / 397.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1428, allocations: 0.8352 MB / 398.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.143, allocations: 60.36 kB / 398.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1432, allocations: 43.44 kB / 398.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1432, allocations: 0 / 398.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of Templates: time 0.01392/0.1571, allocations: 8.93 MB / 407.3 MB, free: 13.89 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)