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.001622/0.001622, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001856/0.001856, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.479/1.479, allocations: 205.1 MB / 222 MB, free: 4.801 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.001229/0.001229, allocations: 55.91 kB / 278 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.355, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00911/0.3642, allocations: 5.044 MB / 329.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004891/0.3692, allocations: 1.335 MB / 331.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.3704, allocations: 11.69 kB / 331.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.3714, allocations: 125.1 kB / 331.2 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.3731, allocations: 286.7 kB / 331.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000794/0.3739, allocations: 199.5 kB / 331.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.376, allocations: 1.12 MB / 332.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.3768, allocations: 286 kB / 333.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009607/0.3777, allocations: 415.2 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008425/0.3786, allocations: 496.7 kB / 334 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.3788, allocations: 75.94 kB / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.3791, allocations: 76 kB / 334.1 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.3794, allocations: 195.2 kB / 334.3 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007226/0.3801, allocations: 0.4898 MB / 334.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3816, allocations: 1.156 MB / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3816, allocations: 0 / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3816, allocations: 0 / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3816, allocations: 0 / 335.9 MB, free: 8.836 MB / 270.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.003879/0.3855, allocations: 1.337 MB / 337.3 MB, free: 7.426 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.3856, allocations: 12.02 kB / 337.3 MB, free: 7.414 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.3859, allocations: 111.7 kB / 337.4 MB, free: 7.305 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3873, allocations: 0.5871 MB / 338 MB, free: 6.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/0.3878, allocations: 166.9 kB / 338.1 MB, free: 6.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3879, allocations: 64.12 kB / 338.2 MB, free: 6.438 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.3902, allocations: 0.8587 MB / 339.1 MB, free: 5.477 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.3903, allocations: 3.938 kB / 339.1 MB, free: 5.473 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.3904, allocations: 32 kB / 339.1 MB, free: 5.441 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.3904, allocations: 12 kB / 339.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.3927, allocations: 0.6219 MB / 339.7 MB, free: 4.805 MB / 270.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.004533/0.3972, allocations: 2.065 MB / 341.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.3988, allocations: 0.8584 MB / 342.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009225/0.3998, allocations: 410.5 kB / 343.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/0.3998, allocations: 20.62 kB / 343.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.457e-05/0.3999, allocations: 47.22 kB / 343.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.3999, allocations: 0 / 343.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005949/0.4059, allocations: 1.835 MB / 345 MB, free: 15.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004201/0.4063, allocations: 0.8273 MB / 345.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.4073, allocations: 0.6293 MB / 346.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.4074, allocations: 45.7 kB / 346.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.4077, allocations: 329 kB / 346.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.4079, allocations: 260.2 kB / 347 MB, free: 13.01 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.4082, allocations: 150.6 kB / 347.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4084, allocations: 382.8 kB / 347.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007123/0.4091, allocations: 285.8 kB / 347.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000975/0.4101, allocations: 0.5624 MB / 348.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.4115, allocations: 0.7012 MB / 349.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4116, allocations: 0 / 349.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002955/0.4145, allocations: 1.126 MB / 350.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.4146, allocations: 89.11 kB / 350.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4146, allocations: 0 / 350.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007888/0.4154, allocations: 243.2 kB / 350.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.4162, allocations: 143.8 kB / 350.7 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.4248, allocations: 6.375 MB / 357.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.4262, allocations: 111.3 kB / 357.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.4263, allocations: 20 kB / 357.2 MB, free: 2.105 MB / 286.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.0005206/0.4268, allocations: 221.7 kB / 357.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.427, allocations: 87.05 kB / 357.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.4272, allocations: 91.34 kB / 357.6 MB, free: 1.699 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4272, allocations: 8 kB / 357.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.4272, allocations: 0 / 357.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002825/0.4301, allocations: 1.268 MB / 358.9 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.434, allocations: 1.953 MB / 360.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.434, allocations: 0 / 360.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/0.4348, allocations: 147.8 kB / 361 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000573/0.4354, allocations: 194.4 kB / 361.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.4355, allocations: 15.98 kB / 361.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.4417, allocations: 4.914 MB / 366.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4417, allocations: 0 / 366.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.4453, allocations: 1.425 MB / 367.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.4459, allocations: 243.8 kB / 367.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4461, allocations: 20 kB / 367.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.4467, allocations: 59.94 kB / 367.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.4469, allocations: 64.5 kB / 367.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.447, allocations: 16 kB / 367.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.4476, allocations: 459 kB / 368.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4476, allocations: 0 / 368.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009542/0.4486, allocations: 283.6 kB / 368.6 MB, free: 6.027 MB / 302.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.000213/0.4488, allocations: 119.3 kB / 368.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.4514, allocations: 1.375 MB / 370.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4514, allocations: 0 / 370.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.4529, allocations: 0.7807 MB / 370.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4542, allocations: 231 kB / 371.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.4577, allocations: 1.88 MB / 373 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.4583, allocations: 0.9401 MB / 373.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005241/0.4588, allocations: 110.4 kB / 374.1 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.459, allocations: 59.44 kB / 374.1 MB, free: 348 kB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.459, allocations: 0 / 374.1 MB, free: 348 kB / 302.1 MB Notification: Performance of Templates: time 0.03076/0.4898, allocations: 17.03 MB / 391.1 MB, free: 15.29 MB / 334.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)