Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006337/0.006337, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001299/0.001299, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.448/1.448, 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.001194/0.001194, allocations: 53.77 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005879/0.1227, allocations: 5.017 MB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1252, allocations: 1.348 MB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1256, allocations: 11.94 kB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.1263, allocations: 162.6 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007254/0.127, allocations: 333.2 kB / 380 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.1275, allocations: 231.6 kB / 380.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1286, allocations: 1.183 MB / 381.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.1291, allocations: 314 kB / 381.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.1296, allocations: 458.4 kB / 382.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.1302, allocations: 0.5057 MB / 382.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.1304, allocations: 104 kB / 382.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1305, allocations: 104 kB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.1307, allocations: 231.2 kB / 383.1 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.1312, allocations: 0.5172 MB / 383.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.1326, allocations: 1.207 MB / 384.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1326, allocations: 0 / 384.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1326, allocations: 0 / 384.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.1326, allocations: 0 / 384.8 MB, free: 5.57 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002928/0.1355, allocations: 1.337 MB / 386.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.1356, allocations: 8.031 kB / 386.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.1358, allocations: 107.8 kB / 386.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.137, allocations: 0.5793 MB / 386.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.1372, allocations: 147 kB / 387 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1373, allocations: 60.12 kB / 387.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.1389, allocations: 0.8392 MB / 387.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1389, allocations: 7.906 kB / 387.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.139, allocations: 28 kB / 388 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.139, allocations: 16 kB / 388 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.1405, allocations: 0.6023 MB / 388.6 MB, free: 1.613 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.00356/0.144, allocations: 2.053 MB / 390.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.1456, allocations: 0.8467 MB / 391.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.1464, allocations: 399.6 kB / 391.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.321e-05/0.1465, allocations: 20.62 kB / 391.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.1466, allocations: 43.22 kB / 391.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 5.009e-06/0.1466, allocations: 0 / 391.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005474/0.1521, allocations: 1.797 MB / 393.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004225/0.1526, allocations: 0.8272 MB / 394.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.1535, allocations: 0.637 MB / 395.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.1536, allocations: 41.7 kB / 395.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.1539, allocations: 333.1 kB / 395.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.1542, allocations: 248.3 kB / 395.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.1544, allocations: 150.6 kB / 395.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1546, allocations: 382.8 kB / 396.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/0.1553, allocations: 277.8 kB / 396.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/0.1563, allocations: 0.5507 MB / 397.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.1577, allocations: 0.6856 MB / 397.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1577, allocations: 3.938 kB / 397.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002828/0.1606, allocations: 1.094 MB / 398.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/0.1607, allocations: 85.11 kB / 399 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1607, allocations: 4 kB / 399 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007484/0.1615, allocations: 243.2 kB / 399.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.1621, allocations: 139.8 kB / 399.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/0.1707, allocations: 6.923 MB / 406.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/0.1716, allocations: 99.36 kB / 406.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.1717, allocations: 24 kB / 406.4 MB, free: 14.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.1721, allocations: 229.6 kB / 406.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1722, allocations: 86.97 kB / 406.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1724, allocations: 87.34 kB / 406.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1724, allocations: 4 kB / 406.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1724, allocations: 0 / 406.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002545/0.175, allocations: 1.245 MB / 408.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.1789, allocations: 1.916 MB / 410 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.179, allocations: 4 kB / 410 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.1797, allocations: 135.8 kB / 410.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/0.1802, allocations: 202.5 kB / 410.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.1803, allocations: 19.92 kB / 410.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006746/0.1871, allocations: 5.345 MB / 415.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1871, allocations: 7.984 kB / 415.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.1907, allocations: 1.395 MB / 417.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.1912, allocations: 236 kB / 417.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.1914, allocations: 24 kB / 417.3 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.1921, allocations: 43.95 kB / 417.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/0.1923, allocations: 68.5 kB / 417.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.1924, allocations: 20 kB / 417.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005866/0.193, allocations: 455 kB / 417.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.193, allocations: 0 / 417.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009245/0.1939, allocations: 283.7 kB / 418.2 MB, free: 2.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.1941, allocations: 127.1 kB / 418.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.1967, allocations: 1.356 MB / 419.7 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.1967, allocations: 0 / 419.7 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.1982, allocations: 0.7654 MB / 420.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.1994, allocations: 242.7 kB / 420.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.2025, allocations: 1.597 MB / 422.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.203, allocations: 0.9362 MB / 423.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00042/0.2034, allocations: 106.4 kB / 423.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.2036, allocations: 67.44 kB / 423.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2036, allocations: 0 / 423.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.03301/0.2366, allocations: 18.58 MB / 442 MB, free: 10.05 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)