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.001157/0.001158, allocations: 114 kB / 16.51 MB, free: 6.715 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.001243/0.001243, 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.472/1.472, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001126/0.001126, allocations: 43.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1191, allocations: 46.62 MB / 325.9 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004671/0.1239, allocations: 3.692 MB / 329.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1257, allocations: 1.017 MB / 330.7 MB, free: 152 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1259, allocations: 4 kB / 330.7 MB, free: 148 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.1263, allocations: 87.38 kB / 330.7 MB, free: 60 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1267, allocations: 174.8 kB / 330.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.127, allocations: 115.9 kB / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006061/0.1276, allocations: 0.6456 MB / 331.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.1279, allocations: 178.9 kB / 331.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1282, allocations: 235 kB / 332.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1284, allocations: 282.8 kB / 332.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.1285, allocations: 40 kB / 332.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.1286, allocations: 40 kB / 332.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.1287, allocations: 111.5 kB / 332.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.129, allocations: 290.6 kB / 332.8 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.1295, allocations: 0.6618 MB / 333.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1295, allocations: 4 kB / 333.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1295, allocations: 0 / 333.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1295, allocations: 3.938 kB / 333.5 MB, free: 13.3 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.001579/0.1311, allocations: 0.8894 MB / 334.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1312, allocations: 8.031 kB / 334.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1313, allocations: 68.22 kB / 334.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.1321, allocations: 430.5 kB / 334.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.1323, allocations: 90.88 kB / 335 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.1323, allocations: 28.38 kB / 335 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.1332, allocations: 0.4893 MB / 335.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1333, allocations: 0 / 335.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.1333, allocations: 20 kB / 335.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1333, allocations: 8 kB / 335.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.1342, allocations: 366.3 kB / 335.9 MB, free: 10.76 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.002101/0.1363, allocations: 1.298 MB / 337.2 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.1372, allocations: 399.3 kB / 337.6 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.1376, allocations: 188.8 kB / 337.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1377, allocations: 15.97 kB / 337.8 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1377, allocations: 38.56 kB / 337.8 MB, free: 8.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 2.344e-06/0.1377, allocations: 0 / 337.8 MB, free: 8.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001716/0.1394, allocations: 0.7588 MB / 338.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002245/0.1397, allocations: 452.9 kB / 339 MB, free: 7.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.1402, allocations: 454 kB / 339.4 MB, free: 6.895 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.1402, allocations: 33.7 kB / 339.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1404, allocations: 240.4 kB / 339.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/0.1405, allocations: 122.2 kB / 339.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1407, allocations: 77.69 kB / 339.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1408, allocations: 362.7 kB / 340.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.1412, allocations: 151.9 kB / 340.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.1418, allocations: 298.5 kB / 340.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.1426, allocations: 361.2 kB / 341.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1427, allocations: 0 / 341.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001082/0.1437, allocations: 0.4976 MB / 341.5 MB, free: 4.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.1438, allocations: 32.83 kB / 341.6 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1438, allocations: 3.984 kB / 341.6 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.144, allocations: 53.64 kB / 341.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.1444, allocations: 83.94 kB / 341.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.1467, allocations: 2.752 MB / 344.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.1473, allocations: 71.73 kB / 344.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.1473, allocations: 8 kB / 344.5 MB, free: 1.398 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.0002618/0.1476, allocations: 170.1 kB / 344.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.1477, allocations: 55.38 kB / 344.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.1478, allocations: 56.75 kB / 344.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1478, allocations: 8 kB / 344.8 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1478, allocations: 3.938 kB / 344.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/0.1488, allocations: 0.7516 MB / 345.6 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.1506, allocations: 1.036 MB / 346.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1506, allocations: 0 / 346.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.1511, allocations: 95.88 kB / 346.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1511, allocations: 0 / 346.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.1511, allocations: 11.98 kB / 346.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1511, allocations: 0 / 346.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1511, allocations: 0 / 346.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.1524, allocations: 0.6973 MB / 347.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.1526, allocations: 164.4 kB / 347.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.1527, allocations: 12 kB / 347.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.1531, allocations: 35.95 kB / 347.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.774e-05/0.1532, allocations: 19.97 kB / 347.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1532, allocations: 16.06 kB / 347.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.1536, allocations: 323.1 kB / 348 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1536, allocations: 0 / 348 MB, free: 13.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.1541, allocations: 135.8 kB / 348.1 MB, free: 13.62 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.0001306/0.1542, allocations: 115.1 kB / 348.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.1555, allocations: 0.6648 MB / 348.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1555, allocations: 8.062 kB / 348.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.1559, allocations: 187.8 kB / 349.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007489/0.1567, allocations: 137.8 kB / 349.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1583, allocations: 1.093 MB / 350.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1587, allocations: 0.8236 MB / 351.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.159, allocations: 68.34 kB / 351.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1591, allocations: 43.42 kB / 351.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1591, allocations: 0 / 351.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01429/0.1734, allocations: 8.235 MB / 359.5 MB, free: 2.152 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)