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.001156/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001266/0.001267, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.506/1.506, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.002123/0.002123, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3324, allocations: 46.64 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.007651/0.3401, allocations: 5.045 MB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.3442, allocations: 1.327 MB / 331.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007375/0.3449, allocations: 15.91 kB / 331.2 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.3456, allocations: 128.6 kB / 331.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.3465, allocations: 290.2 kB / 331.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.3472, allocations: 191.8 kB / 331.8 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.3494, allocations: 1.169 MB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007196/0.3501, allocations: 316 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.3511, allocations: 463 kB / 333.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.3517, allocations: 0.498 MB / 334.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3518, allocations: 107.9 kB / 334.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.352, allocations: 108 kB / 334.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.3522, allocations: 215.3 kB / 334.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.3527, allocations: 0.5211 MB / 335.2 MB, free: 9.695 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3539, allocations: 1.184 MB / 336.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3539, allocations: 4 kB / 336.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.3539, allocations: 0 / 336.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3539, allocations: 0 / 336.4 MB, free: 8.504 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.002556/0.3565, allocations: 1.337 MB / 337.7 MB, free: 7.094 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3566, allocations: 8.031 kB / 337.7 MB, free: 7.086 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3568, allocations: 111.7 kB / 337.8 MB, free: 6.977 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.3577, allocations: 0.587 MB / 338.4 MB, free: 6.352 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.358, allocations: 174.8 kB / 338.6 MB, free: 6.164 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3581, allocations: 56.12 kB / 338.7 MB, free: 6.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.3596, allocations: 0.8665 MB / 339.5 MB, free: 5.141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.3597, allocations: 0 / 339.5 MB, free: 5.141 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.3597, allocations: 28 kB / 339.5 MB, free: 5.113 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.3598, allocations: 16 kB / 339.6 MB, free: 5.098 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.3613, allocations: 0.6258 MB / 340.2 MB, free: 4.469 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.003347/0.3647, allocations: 2.073 MB / 342.3 MB, free: 2.289 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.3662, allocations: 0.8546 MB / 343.1 MB, free: 1.375 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/0.367, allocations: 406.6 kB / 343.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.288e-05/0.3671, allocations: 16.62 kB / 343.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.3671, allocations: 55.16 kB / 343.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/0.3671, allocations: 0 / 343.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005325/0.3725, allocations: 1.828 MB / 345.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004097/0.3729, allocations: 0.8234 MB / 346.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.3737, allocations: 0.6293 MB / 346.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.3738, allocations: 45.7 kB / 346.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.3741, allocations: 337 kB / 347.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3743, allocations: 256.2 kB / 347.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.3746, allocations: 142.7 kB / 347.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3748, allocations: 386.8 kB / 348 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.3754, allocations: 293.8 kB / 348.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.3764, allocations: 0.5585 MB / 348.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3778, allocations: 0.7089 MB / 349.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3778, allocations: 4 kB / 349.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00279/0.3806, allocations: 1.118 MB / 350.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.3807, allocations: 85.09 kB / 350.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3807, allocations: 0 / 350.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007258/0.3814, allocations: 243.2 kB / 351 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007425/0.3822, allocations: 143.8 kB / 351.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.3903, allocations: 6.939 MB / 358.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.3915, allocations: 115.3 kB / 358.2 MB, free: 1.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.3916, allocations: 24.39 kB / 358.2 MB, free: 1.172 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.0004257/0.392, allocations: 217.7 kB / 358.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.3922, allocations: 87.06 kB / 358.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.3924, allocations: 95.31 kB / 358.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3924, allocations: 8 kB / 358.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3924, allocations: 0 / 358.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002643/0.3951, allocations: 1.26 MB / 359.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.3992, allocations: 1.949 MB / 361.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3993, allocations: 0 / 361.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.4, allocations: 147.8 kB / 362 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/0.4006, allocations: 206.4 kB / 362.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.4006, allocations: 12 kB / 362.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007064/0.4077, allocations: 5.338 MB / 367.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4077, allocations: 0 / 367.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/0.4117, allocations: 1.437 MB / 369 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.4124, allocations: 235.9 kB / 369.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4125, allocations: 27.94 kB / 369.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.4132, allocations: 56.06 kB / 369.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.4135, allocations: 72.5 kB / 369.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.4136, allocations: 16 kB / 369.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007816/0.4144, allocations: 459 kB / 369.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4144, allocations: 8 kB / 369.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001422/0.4158, allocations: 275.7 kB / 370.1 MB, free: 4.645 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.0003929/0.4162, allocations: 119.2 kB / 370.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.4195, allocations: 1.406 MB / 371.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.4195, allocations: 0 / 371.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.4211, allocations: 0.7808 MB / 372.4 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.4225, allocations: 241.6 kB / 372.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.4264, allocations: 1.899 MB / 374.5 MB, free: 36 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.4271, allocations: 0.9401 MB / 375.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005131/0.4276, allocations: 106.4 kB / 375.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4278, allocations: 63.44 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4278, allocations: 0 / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of Templates: time 0.03049/0.4583, allocations: 18.02 MB / 393.6 MB, free: 12.84 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)