Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008597/0.0008598, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006377/0.006377, allocations: 170 kB / 16.26 MB, free: 6.613 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.623/1.623, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004747/0.0004751, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00543/0.3252, allocations: 4.645 MB / 331.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.3283, allocations: 1.279 MB / 332.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.3287, allocations: 11.81 kB / 333 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.3291, allocations: 125.3 kB / 333.1 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.3299, allocations: 282.4 kB / 333.4 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3303, allocations: 195.7 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.3316, allocations: 1.116 MB / 334.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.3321, allocations: 286.3 kB / 334.9 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.3327, allocations: 418.6 kB / 335.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.3332, allocations: 470 kB / 335.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3333, allocations: 67.94 kB / 335.9 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3335, allocations: 68 kB / 335.9 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.3337, allocations: 183.2 kB / 336.1 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.3342, allocations: 0.5032 MB / 336.6 MB, free: 9.738 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3352, allocations: 1.132 MB / 337.8 MB, free: 8.602 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3352, allocations: 0 / 337.8 MB, free: 8.602 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3352, allocations: 0 / 337.8 MB, free: 8.602 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3353, allocations: 4 kB / 337.8 MB, free: 8.598 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.002245/0.3375, allocations: 1.189 MB / 338.9 MB, free: 7.336 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3376, allocations: 8.031 kB / 339 MB, free: 7.328 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3377, allocations: 107.8 kB / 339.1 MB, free: 7.223 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.3387, allocations: 0.5948 MB / 339.7 MB, free: 6.59 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.339, allocations: 174.9 kB / 339.8 MB, free: 6.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.3392, allocations: 64.11 kB / 339.9 MB, free: 6.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3407, allocations: 0.8744 MB / 340.8 MB, free: 5.363 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3407, allocations: 0 / 340.8 MB, free: 5.363 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.3408, allocations: 32 kB / 340.8 MB, free: 5.332 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3408, allocations: 12 kB / 340.8 MB, free: 5.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.3424, allocations: 0.6649 MB / 341.5 MB, free: 4.652 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.003271/0.3456, allocations: 2.084 MB / 343.6 MB, free: 2.461 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3471, allocations: 0.8858 MB / 344.4 MB, free: 1.516 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.348, allocations: 438.4 kB / 344.9 MB, free: 1.086 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.3481, allocations: 8.656 kB / 344.9 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.3481, allocations: 51.16 kB / 344.9 MB, free: 1.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 1.884e-06/0.3481, allocations: 0 / 344.9 MB, free: 1.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.0054/0.3535, allocations: 2 MB / 346.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000437/0.354, allocations: 0.8234 MB / 347.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008681/0.3549, allocations: 0.6254 MB / 348.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.355, allocations: 45.7 kB / 348.4 MB, free: 13.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.3552, allocations: 333 kB / 348.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.3555, allocations: 256.2 kB / 349 MB, free: 12.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3556, allocations: 61.69 kB / 349.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.3558, allocations: 386.7 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/0.3566, allocations: 309.8 kB / 349.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3576, allocations: 0.578 MB / 350.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.3592, allocations: 0.7441 MB / 351.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3592, allocations: 4 kB / 351.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00289/0.3621, allocations: 1.192 MB / 352.3 MB, free: 9.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.3621, allocations: 89.11 kB / 352.3 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3622, allocations: 0 / 352.3 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.3629, allocations: 259.2 kB / 352.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.3636, allocations: 151.8 kB / 352.7 MB, free: 8.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008053/0.3716, allocations: 6.507 MB / 359.3 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.3727, allocations: 131.3 kB / 359.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.3727, allocations: 20 kB / 359.4 MB, free: 1.484 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.0004139/0.3732, allocations: 217.7 kB / 359.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.3733, allocations: 83.3 kB / 359.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.3735, allocations: 99.33 kB / 359.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3735, allocations: 7.984 kB / 359.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3735, allocations: 4 kB / 359.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002719/0.3763, allocations: 1.338 MB / 361.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004121/0.3804, allocations: 2.035 MB / 363.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3804, allocations: 0 / 363.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.3811, allocations: 151.8 kB / 363.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006059/0.3818, allocations: 214.4 kB / 363.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.3818, allocations: 15.98 kB / 363.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006881/0.3887, allocations: 5.067 MB / 368.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3888, allocations: 0 / 368.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.3927, allocations: 1.527 MB / 370.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.3932, allocations: 239.8 kB / 370.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3934, allocations: 20 kB / 370.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/0.3941, allocations: 67.94 kB / 370.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.3943, allocations: 64.56 kB / 370.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.3944, allocations: 19.98 kB / 370.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000677/0.395, allocations: 455.1 kB / 371 MB, free: 5.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.395, allocations: 0 / 371 MB, free: 5.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009651/0.396, allocations: 287.6 kB / 371.3 MB, free: 4.969 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.0001996/0.3962, allocations: 115.1 kB / 371.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.399, allocations: 1.41 MB / 372.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.399, allocations: 7.938 kB / 372.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4006, allocations: 0.812 MB / 373.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.4019, allocations: 222.9 kB / 373.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.4052, allocations: 1.992 MB / 375.8 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.4058, allocations: 0.9362 MB / 376.8 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.4063, allocations: 110.4 kB / 376.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.4065, allocations: 59.44 kB / 376.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4065, allocations: 0 / 376.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of Templates: time 0.02931/0.4358, allocations: 16.9 MB / 393.8 MB, free: 14.18 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)