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.001242/0.001242, allocations: 97.73 kB / 16.5 MB, free: 6.203 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.001271/0.00127, allocations: 194.8 kB / 17.43 MB, free: 5.844 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.41/1.41, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001306/0.001307, allocations: 59.92 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.0997, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005831/0.1056, allocations: 5.039 MB / 331 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1081, allocations: 1.345 MB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.1085, allocations: 11.94 kB / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.1089, allocations: 127.1 kB / 332.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/0.1096, allocations: 281.8 kB / 332.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.11, allocations: 203.8 kB / 332.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.111, allocations: 1.121 MB / 334.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.1115, allocations: 290 kB / 334.4 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.1121, allocations: 414.4 kB / 334.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.1127, allocations: 497.9 kB / 335.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.1128, allocations: 72 kB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.113, allocations: 72 kB / 335.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1131, allocations: 195.2 kB / 335.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004333/0.1136, allocations: 0.4898 MB / 336.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009986/0.1146, allocations: 1.152 MB / 337.2 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1146, allocations: 4 kB / 337.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1146, allocations: 0 / 337.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1146, allocations: 0 / 337.2 MB, free: 9.543 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.0028/0.1174, allocations: 1.348 MB / 338.6 MB, free: 8.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1175, allocations: 8.031 kB / 338.6 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1177, allocations: 111.8 kB / 338.7 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1187, allocations: 0.5754 MB / 339.3 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.1191, allocations: 170.9 kB / 339.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.1192, allocations: 56.12 kB / 339.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1206, allocations: 0.8587 MB / 340.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1206, allocations: 0 / 340.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.1207, allocations: 35.92 kB / 340.4 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1207, allocations: 12 kB / 340.4 MB, free: 6.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.1221, allocations: 0.6258 MB / 341 MB, free: 5.516 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.003228/0.1254, allocations: 2.061 MB / 343.1 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.1269, allocations: 0.8662 MB / 343.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008658/0.1277, allocations: 410.5 kB / 344.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.1278, allocations: 12.64 kB / 344.4 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1278, allocations: 47.22 kB / 344.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.1278, allocations: 0 / 344.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005513/0.1334, allocations: 1.843 MB / 346.2 MB, free: 16 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000574/0.134, allocations: 0.8234 MB / 347.1 MB, free: 15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.1348, allocations: 0.6293 MB / 347.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.1349, allocations: 49.7 kB / 347.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.1352, allocations: 337 kB / 348.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.1354, allocations: 256.2 kB / 348.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.1357, allocations: 142.7 kB / 348.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1358, allocations: 386.8 kB / 348.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/0.1365, allocations: 285.8 kB / 349.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.1375, allocations: 0.5624 MB / 349.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.139, allocations: 0.7051 MB / 350.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.139, allocations: 0 / 350.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002818/0.1418, allocations: 1.125 MB / 351.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.1419, allocations: 85.11 kB / 351.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1419, allocations: 0 / 351.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/0.1427, allocations: 243.2 kB / 351.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.1433, allocations: 143.8 kB / 352 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/0.1515, allocations: 6.367 MB / 358.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.1528, allocations: 119.3 kB / 358.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.1529, allocations: 20 kB / 358.5 MB, free: 2.812 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.0003923/0.1533, allocations: 221.7 kB / 358.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.1534, allocations: 90.95 kB / 358.8 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.1536, allocations: 91.34 kB / 358.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1536, allocations: 4 kB / 358.9 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.1536, allocations: 4 kB / 358.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002514/0.1562, allocations: 1.264 MB / 360.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.1601, allocations: 1.937 MB / 362.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1602, allocations: 7.938 kB / 362.1 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.1609, allocations: 151.8 kB / 362.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.1614, allocations: 194.5 kB / 362.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.1615, allocations: 16 kB / 362.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/0.1676, allocations: 4.922 MB / 367.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1676, allocations: 0 / 367.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.1711, allocations: 1.429 MB / 368.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.1716, allocations: 243.8 kB / 369 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.1717, allocations: 20 kB / 369.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.1724, allocations: 59.94 kB / 369.1 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.1726, allocations: 64.5 kB / 369.2 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.1726, allocations: 20 kB / 369.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005414/0.1732, allocations: 455 kB / 369.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1732, allocations: 0 / 369.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008361/0.174, allocations: 287.6 kB / 369.9 MB, free: 6.723 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.0001834/0.1742, allocations: 123.4 kB / 370 MB, free: 6.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.1765, allocations: 1.363 MB / 371.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1765, allocations: 12.06 kB / 371.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.1779, allocations: 0.7729 MB / 372.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.1791, allocations: 222.1 kB / 372.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.182, allocations: 1.884 MB / 374.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.1826, allocations: 0.9401 MB / 375.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.1831, allocations: 102.4 kB / 375.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.1833, allocations: 63.44 kB / 375.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1833, allocations: 4 kB / 375.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of Templates: time 0.1636/0.3469, allocations: 17.02 MB / 392.4 MB, free: 46.97 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)