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.001257/0.001257, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001647/0.001647, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004279/0.0004279, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 47.59 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004927/0.2864, allocations: 3.99 MB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.2892, allocations: 1.28 MB / 331.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.2896, allocations: 12.38 kB / 331.7 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.2899, allocations: 102.5 kB / 331.8 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008004/0.2907, allocations: 350.3 kB / 332.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2911, allocations: 167.9 kB / 332.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.2922, allocations: 0.7883 MB / 333.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004535/0.2927, allocations: 260.7 kB / 333.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.2933, allocations: 380.5 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.2939, allocations: 446.7 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.2941, allocations: 60 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.2942, allocations: 60.78 kB / 334.3 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2944, allocations: 168.4 kB / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.2946, allocations: 197.9 kB / 334.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008057/0.2955, allocations: 0.8335 MB / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2955, allocations: 4 kB / 335.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2955, allocations: 0 / 335.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.2955, allocations: 0 / 335.5 MB, free: 10.42 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.002216/0.2977, allocations: 1.193 MB / 336.7 MB, free: 9.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2978, allocations: 8.031 kB / 336.7 MB, free: 9.152 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.298, allocations: 110.9 kB / 336.8 MB, free: 9.043 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.2989, allocations: 0.5356 MB / 337.3 MB, free: 8.469 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.2992, allocations: 166.4 kB / 337.5 MB, free: 8.285 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2993, allocations: 63.94 kB / 337.6 MB, free: 8.223 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3009, allocations: 0.8665 MB / 338.4 MB, free: 7.254 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3009, allocations: 0 / 338.4 MB, free: 7.254 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.301, allocations: 28 kB / 338.5 MB, free: 7.227 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.301, allocations: 16 kB / 338.5 MB, free: 7.211 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.3026, allocations: 0.6571 MB / 339.1 MB, free: 6.551 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.003299/0.3059, allocations: 2.038 MB / 341.2 MB, free: 4.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.3074, allocations: 0.8858 MB / 342 MB, free: 3.465 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.3074, allocations: 12.64 kB / 342.1 MB, free: 3.453 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.3075, allocations: 51.16 kB / 342.1 MB, free: 3.395 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.205e-06/0.3075, allocations: 0 / 342.1 MB, free: 3.395 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005588/0.3131, allocations: 1.987 MB / 344.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004712/0.3136, allocations: 0.8234 MB / 344.9 MB, free: 300 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.3144, allocations: 0.5747 MB / 345.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.3144, allocations: 45.7 kB / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.3148, allocations: 333 kB / 345.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.315, allocations: 260.2 kB / 346.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3151, allocations: 12 kB / 346.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3153, allocations: 382.8 kB / 346.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.316, allocations: 305.8 kB / 346.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.317, allocations: 0.5819 MB / 347.4 MB, free: 13.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.3178, allocations: 431.8 kB / 347.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3178, allocations: 0 / 347.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002795/0.3206, allocations: 1.192 MB / 349 MB, free: 12.03 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/0.3207, allocations: 93.11 kB / 349.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3207, allocations: 3.984 kB / 349.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/0.3214, allocations: 255.2 kB / 349.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.3221, allocations: 159.7 kB / 349.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007996/0.3301, allocations: 6.563 MB / 356.1 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.3312, allocations: 119.9 kB / 356.2 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.3313, allocations: 31.94 kB / 356.2 MB, free: 4.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004073/0.3317, allocations: 221.7 kB / 356.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.3319, allocations: 90.97 kB / 356.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.332, allocations: 91.34 kB / 356.6 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.332, allocations: 8 kB / 356.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.332, allocations: 0 / 356.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/0.3346, allocations: 1.346 MB / 358 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.3386, allocations: 1.964 MB / 359.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3386, allocations: 0 / 359.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.3394, allocations: 159.8 kB / 360.1 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.3399, allocations: 210.4 kB / 360.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.34, allocations: 15.98 kB / 360.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006925/0.3469, allocations: 5.13 MB / 365.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.347, allocations: 3.953 kB / 365.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.3509, allocations: 1.523 MB / 367 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.3513, allocations: 231.8 kB / 367.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.3514, allocations: 20 kB / 367.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.3521, allocations: 71.94 kB / 367.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.3523, allocations: 72.42 kB / 367.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.3523, allocations: 16 kB / 367.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000549/0.3529, allocations: 415.1 kB / 367.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3529, allocations: 0 / 367.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009/0.3538, allocations: 279.7 kB / 368 MB, free: 7.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.354, allocations: 123.2 kB / 368.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.3563, allocations: 1.403 MB / 369.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3564, allocations: 4.062 kB / 369.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.3578, allocations: 0.8197 MB / 370.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.3587, allocations: 198.8 kB / 370.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.3615, allocations: 1.908 MB / 372.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.3621, allocations: 0.9552 MB / 373.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.3625, allocations: 93.53 kB / 373.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3626, allocations: 59.38 kB / 373.6 MB, free: 2.023 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3626, allocations: 0 / 373.6 MB, free: 2.023 MB / 302.1 MB Notification: Performance of Templates: time 0.02639/0.389, allocations: 15.61 MB / 389.2 MB, free: 2.391 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: