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.005421/0.00542, allocations: 100.6 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.001139/0.001139, 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001165/0.001165, allocations: 54.47 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09726, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004575/0.1019, allocations: 3.658 MB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1038, allocations: 1.017 MB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1041, allocations: 8 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1045, allocations: 111.1 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1049, allocations: 198.3 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1052, allocations: 143.7 kB / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00076/0.106, allocations: 0.6769 MB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.1063, allocations: 202.2 kB / 379.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.1066, allocations: 255.1 kB / 379.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.1069, allocations: 290.8 kB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.1069, allocations: 56 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.107, allocations: 60 kB / 379.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1071, allocations: 127.5 kB / 379.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.1074, allocations: 310.6 kB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.1082, allocations: 0.7006 MB / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1082, allocations: 0 / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1082, allocations: 0 / 380.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1082, 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.001543/0.1098, allocations: 0.8778 MB / 381.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1098, allocations: 12.03 kB / 381.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1099, allocations: 72.19 kB / 381.9 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.1107, allocations: 438.4 kB / 382.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/0.1108, allocations: 54.91 kB / 382.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.1109, allocations: 36.38 kB / 382.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.1118, allocations: 489 kB / 382.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1118, allocations: 0 / 382.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.1119, allocations: 16 kB / 382.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1119, allocations: 8 kB / 382.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.1127, allocations: 342.4 kB / 383.2 MB, free: 7.043 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.00203/0.1148, allocations: 1.286 MB / 384.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.1155, allocations: 384.5 kB / 384.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.1159, allocations: 184.7 kB / 385.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.1159, allocations: 7.984 kB / 385.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.116, allocations: 42.56 kB / 385.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.116, allocations: 0 / 385.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001603/0.1176, allocations: 0.7198 MB / 385.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.1178, allocations: 448.9 kB / 386.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.1184, allocations: 457.9 kB / 386.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1184, allocations: 33.7 kB / 386.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1186, allocations: 236.5 kB / 387 MB, free: 2.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.1187, allocations: 122.2 kB / 387.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.1188, allocations: 81.59 kB / 387.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.119, allocations: 362.7 kB / 387.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.1193, allocations: 139.9 kB / 387.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.1199, allocations: 278.5 kB / 388 MB, free: 1.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.1207, allocations: 341.2 kB / 388.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1207, allocations: 0 / 388.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001042/0.1217, allocations: 485.9 kB / 388.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.1218, allocations: 29.86 kB / 388.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1218, allocations: 0 / 388.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.122, allocations: 53.69 kB / 388.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.1224, allocations: 83.88 kB / 388.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.1252, allocations: 2.962 MB / 391.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.1256, allocations: 47.7 kB / 391.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1257, allocations: 19.94 kB / 392 MB, free: 13.62 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.0002286/0.1259, allocations: 173.8 kB / 392.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/0.126, allocations: 55.38 kB / 392.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.1261, allocations: 48.77 kB / 392.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1261, allocations: 4 kB / 392.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1261, allocations: 0 / 392.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009527/0.1271, allocations: 0.7309 MB / 393 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.1287, allocations: 1.016 MB / 394 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1287, allocations: 0 / 394 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.1292, allocations: 87.88 kB / 394.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1292, allocations: 3.938 kB / 394.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.1292, allocations: 11.94 kB / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1292, allocations: 0 / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1292, allocations: 0 / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1305, allocations: 0.6524 MB / 394.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.1307, allocations: 164.5 kB / 394.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.1308, allocations: 15.92 kB / 394.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.1312, allocations: 32.03 kB / 395 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.1313, allocations: 27.83 kB / 395 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.1314, allocations: 8 kB / 395 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004077/0.1318, allocations: 323.1 kB / 395.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1318, allocations: 0 / 395.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000465/0.1323, allocations: 135.8 kB / 395.4 MB, free: 9.938 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.0001509/0.1324, allocations: 107.5 kB / 395.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.1337, allocations: 0.6332 MB / 396.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1337, allocations: 4 kB / 396.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.1341, allocations: 179.7 kB / 396.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.1348, allocations: 149.9 kB / 396.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1363, allocations: 0.9105 MB / 397.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1367, allocations: 0.8314 MB / 398.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.137, allocations: 64.34 kB / 398.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1371, allocations: 43.42 kB / 398.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1371, allocations: 0 / 398.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of Templates: time 0.01806/0.1552, allocations: 8.93 MB / 407.3 MB, free: 13.97 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)