Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007637/0.0007637, allocations: 91.2 kB / 16.65 MB, free: 6.586 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.0008924/0.0008926, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.474/1.474, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004915/0.0004915, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004299/0.106, allocations: 4.638 MB / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1079, allocations: 1.275 MB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.1081, allocations: 11.94 kB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1084, allocations: 123.1 kB / 334.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.109, allocations: 289.7 kB / 334.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1093, allocations: 195.8 kB / 334.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.1103, allocations: 1.121 MB / 336 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.1106, allocations: 294 kB / 336.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.111, allocations: 406.3 kB / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.1115, allocations: 470 kB / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1116, allocations: 64 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1117, allocations: 68 kB / 337.2 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1119, allocations: 191.2 kB / 337.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.1123, allocations: 0.4993 MB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008645/0.1131, allocations: 1.129 MB / 339 MB, free: 8.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1132, allocations: 0 / 339 MB, free: 8.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1132, allocations: 0 / 339 MB, free: 8.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1132, allocations: 0 / 339 MB, free: 8.965 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001994/0.1152, allocations: 1.205 MB / 340.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1152, allocations: 12.03 kB / 340.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1154, allocations: 107.8 kB / 340.4 MB, free: 7.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.1162, allocations: 0.5872 MB / 340.9 MB, free: 6.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.1165, allocations: 170.9 kB / 341.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/0.1166, allocations: 60.12 kB / 341.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.1182, allocations: 0.8744 MB / 342 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1182, allocations: 4 kB / 342.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/0.1183, allocations: 28 kB / 342.1 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1183, allocations: 12 kB / 342.1 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1198, allocations: 0.6648 MB / 342.8 MB, free: 5.016 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.002884/0.1227, allocations: 2.088 MB / 344.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.1241, allocations: 0.8974 MB / 345.7 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/0.1249, allocations: 434.4 kB / 346.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.125, allocations: 8.656 kB / 346.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.125, allocations: 51.22 kB / 346.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.125, allocations: 0 / 346.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005469/0.1305, allocations: 2 MB / 348.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00033/0.1308, allocations: 0.8272 MB / 349 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.1316, allocations: 0.6293 MB / 349.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.1317, allocations: 45.7 kB / 349.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1319, allocations: 329 kB / 350 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.1322, allocations: 264.2 kB / 350.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.1322, allocations: 57.69 kB / 350.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1324, allocations: 390.7 kB / 350.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.1331, allocations: 297.8 kB / 351 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009125/0.134, allocations: 0.5819 MB / 351.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.1355, allocations: 0.7442 MB / 352.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1355, allocations: 4 kB / 352.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002753/0.1383, allocations: 1.2 MB / 353.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.1383, allocations: 85.11 kB / 353.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1384, allocations: 0 / 353.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/0.1391, allocations: 255.2 kB / 353.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.1397, allocations: 151.8 kB / 354 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007345/0.1471, allocations: 6.492 MB / 360.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.1481, allocations: 127.3 kB / 360.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.1482, allocations: 28.17 kB / 360.7 MB, free: 1.844 MB / 302.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.0004083/0.1486, allocations: 217.7 kB / 360.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.1488, allocations: 90.97 kB / 361 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.149, allocations: 95.33 kB / 361.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.149, allocations: 8 kB / 361.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.149, allocations: 7.875 kB / 361.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002545/0.1516, allocations: 1.335 MB / 362.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.1554, allocations: 2.039 MB / 364.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1555, allocations: 4 kB / 364.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.1561, allocations: 147.8 kB / 364.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.1567, allocations: 214.4 kB / 364.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.1567, allocations: 15.98 kB / 364.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/0.1628, allocations: 5.059 MB / 369.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1628, allocations: 4.031 kB / 369.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.1662, allocations: 1.523 MB / 371.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.1667, allocations: 239.8 kB / 371.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.1668, allocations: 20 kB / 371.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/0.1674, allocations: 67.94 kB / 371.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.1676, allocations: 64.5 kB / 371.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.1676, allocations: 19.98 kB / 371.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005157/0.1682, allocations: 451.1 kB / 372.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1682, allocations: 4 kB / 372.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000821/0.169, allocations: 287.6 kB / 372.6 MB, free: 5.328 MB / 318.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.000164/0.1692, allocations: 119.2 kB / 372.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.1714, allocations: 1.41 MB / 374.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1714, allocations: 4 kB / 374.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.1728, allocations: 0.8121 MB / 374.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.1738, allocations: 223 kB / 375.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1765, allocations: 1.999 MB / 377.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1693/0.3458, allocations: 0.936 MB / 378.1 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006401/0.3465, allocations: 102.6 kB / 378.2 MB, free: 51.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3467, allocations: 66.12 kB / 378.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3467, allocations: 0 / 378.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of Templates: time 0.03155/0.3782, allocations: 16.89 MB / 395.1 MB, free: 45.39 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)