Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001022/0.001022, allocations: 92.39 kB / 16.65 MB, free: 6.535 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.001264/0.001265, allocations: 177.2 kB / 17.56 MB, free: 6.18 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.421/1.421, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0005647/0.0005649, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.104, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003903/0.1079, allocations: 3.314 MB / 331.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1097, allocations: 0.9434 MB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.1099, allocations: 8 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1102, allocations: 95.36 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1106, allocations: 170.7 kB / 332.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1109, allocations: 115.9 kB / 333 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.1115, allocations: 0.6418 MB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1118, allocations: 178.9 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.112, allocations: 227.1 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1123, allocations: 274.7 kB / 334.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.1124, allocations: 36 kB / 334.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.1125, allocations: 40 kB / 334.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.1126, allocations: 103.5 kB / 334.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.1128, allocations: 312.2 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.1134, allocations: 0.6422 MB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1134, allocations: 4 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1134, allocations: 0 / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1134, allocations: 0 / 335.4 MB, free: 12.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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00143/0.1149, allocations: 0.8039 MB / 336.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1149, allocations: 11.97 kB / 336.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1151, allocations: 76.17 kB / 336.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.1157, allocations: 438.5 kB / 336.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.1159, allocations: 82.89 kB / 336.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.116, allocations: 32.38 kB / 336.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/0.1168, allocations: 0.5009 MB / 337.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1169, allocations: 4 kB / 337.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.1169, allocations: 23.98 kB / 337.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1169, allocations: 8 kB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.1179, allocations: 378.4 kB / 337.7 MB, free: 10.14 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.001948/0.1198, allocations: 1.298 MB / 339 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.1206, allocations: 403.4 kB / 339.4 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.1211, allocations: 208.8 kB / 339.6 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.1211, allocations: 7.984 kB / 339.6 MB, free: 8.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.1212, allocations: 46.56 kB / 339.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.1212, allocations: 0 / 339.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001829/0.123, allocations: 0.7899 MB / 340.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.1232, allocations: 445 kB / 340.9 MB, free: 6.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.1238, allocations: 458 kB / 341.3 MB, free: 6.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.1238, allocations: 37.7 kB / 341.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.124, allocations: 244.4 kB / 341.6 MB, free: 5.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1241, allocations: 114.3 kB / 341.7 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1242, allocations: 33.7 kB / 341.8 MB, free: 5.789 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1243, allocations: 358.7 kB / 342.1 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.1248, allocations: 167.9 kB / 342.3 MB, free: 5.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.1254, allocations: 314.4 kB / 342.6 MB, free: 4.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.1262, allocations: 377.2 kB / 343 MB, free: 4.523 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1262, allocations: 7.938 kB / 343 MB, free: 4.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001072/0.1273, allocations: 0.5174 MB / 343.5 MB, free: 3.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.1274, allocations: 33.69 kB / 343.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1274, allocations: 0 / 343.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.1275, allocations: 49.7 kB / 343.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.128, allocations: 95.88 kB / 343.7 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.1304, allocations: 2.756 MB / 346.4 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.1309, allocations: 67.69 kB / 346.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.1309, allocations: 15.94 kB / 346.5 MB, free: 0.6836 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 (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.0002261/0.1311, allocations: 170.1 kB / 346.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/0.1312, allocations: 59.28 kB / 346.7 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.1313, allocations: 60.75 kB / 346.8 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1314, allocations: 4 kB / 346.8 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1314, allocations: 0 / 346.8 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/0.1325, allocations: 0.7711 MB / 347.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.1343, allocations: 1.06 MB / 348.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1343, allocations: 0 / 348.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.1347, allocations: 99.86 kB / 348.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1348, allocations: 4 kB / 348.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.1348, allocations: 12 kB / 348.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1348, allocations: 0 / 348.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1348, allocations: 0 / 348.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.1362, allocations: 0.721 MB / 349.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.1365, allocations: 180.3 kB / 349.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.1366, allocations: 8 kB / 349.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.137, allocations: 39.97 kB / 349.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.1371, allocations: 23.95 kB / 349.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1371, allocations: 8 kB / 349.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003801/0.1375, allocations: 327.1 kB / 350 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1375, allocations: 0 / 350 MB, free: 12.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.138, allocations: 135.8 kB / 350.1 MB, free: 12.82 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 (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.0001626/0.1381, allocations: 119 kB / 350.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.1395, allocations: 0.6882 MB / 351 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1395, allocations: 0 / 351 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.14, allocations: 203.8 kB / 351.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.1408, allocations: 121.8 kB / 351.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1427, allocations: 1.173 MB / 352.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.1432, allocations: 0.8275 MB / 353.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.1434, allocations: 60.36 kB / 353.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.1436, allocations: 43.42 kB / 353.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1436, allocations: 0 / 353.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of Templates: time 0.01475/0.1583, allocations: 8.171 MB / 361.5 MB, free: 1.316 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)