Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.414/1.414, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001313/0.001313, allocations: 63.84 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2544, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006134/0.2606, allocations: 3.655 MB / 329 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2633, allocations: 1.019 MB / 330 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.2636, allocations: 4.594 kB / 330 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.264, allocations: 109.3 kB / 330.1 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.2645, allocations: 193.2 kB / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.2648, allocations: 136.4 kB / 330.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.2657, allocations: 0.6739 MB / 331.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.2661, allocations: 201.8 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.2664, allocations: 257.9 kB / 331.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.2667, allocations: 289.6 kB / 331.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.2668, allocations: 60.47 kB / 331.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.267, allocations: 57.84 kB / 331.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.2671, allocations: 125.9 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.2675, allocations: 315.7 kB / 332.4 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009033/0.2684, allocations: 0.6816 MB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2684, allocations: 1.094 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2684, allocations: 0 / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.2685, allocations: 4 kB / 333.1 MB, free: 12.02 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002053/0.2705, allocations: 0.8919 MB / 333.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2706, allocations: 8.031 kB / 334 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.2707, allocations: 64.28 kB / 334 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.2715, allocations: 434.5 kB / 334.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.2717, allocations: 78.89 kB / 334.5 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.2718, allocations: 36.38 kB / 334.5 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.2726, allocations: 0.4932 MB / 335 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2727, allocations: 0 / 335 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.2727, allocations: 20 kB / 335.1 MB, free: 9.992 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2727, allocations: 8 kB / 335.1 MB, free: 9.984 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.2736, allocations: 358.4 kB / 335.4 MB, free: 9.629 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.002064/0.2757, allocations: 1.298 MB / 336.7 MB, free: 8.242 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.2765, allocations: 387.5 kB / 337.1 MB, free: 7.836 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.2769, allocations: 193.9 kB / 337.3 MB, free: 7.645 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.277, allocations: 15.92 kB / 337.3 MB, free: 7.629 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.277, allocations: 38.56 kB / 337.3 MB, free: 7.582 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.277, allocations: 3.938 kB / 337.3 MB, free: 7.578 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001746/0.2788, allocations: 0.7587 MB / 338.1 MB, free: 6.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.279, allocations: 448.9 kB / 338.5 MB, free: 6.227 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.2795, allocations: 458 kB / 339 MB, free: 5.766 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2795, allocations: 37.64 kB / 339 MB, free: 5.723 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.2798, allocations: 240.4 kB / 339.3 MB, free: 5.484 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.2799, allocations: 122.2 kB / 339.4 MB, free: 5.363 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.28, allocations: 77.69 kB / 339.5 MB, free: 5.281 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2801, allocations: 354.7 kB / 339.8 MB, free: 4.926 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.2806, allocations: 159.9 kB / 340 MB, free: 4.77 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.2811, allocations: 290.6 kB / 340.2 MB, free: 4.434 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.282, allocations: 365.1 kB / 340.6 MB, free: 4.066 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.282, allocations: 0 / 340.6 MB, free: 4.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001072/0.283, allocations: 0.5015 MB / 341.1 MB, free: 3.547 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.2831, allocations: 29.7 kB / 341.1 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2831, allocations: 7.938 kB / 341.1 MB, free: 3.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.2833, allocations: 45.69 kB / 341.2 MB, free: 3.453 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.2837, allocations: 95.88 kB / 341.3 MB, free: 3.359 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.2862, allocations: 2.962 MB / 344.2 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.2867, allocations: 51.77 kB / 344.3 MB, free: 68 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.2867, allocations: 19.92 kB / 344.3 MB, free: 48 kB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.287, allocations: 173.7 kB / 344.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.2871, allocations: 51.44 kB / 344.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2872, allocations: 56.75 kB / 344.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2872, allocations: 4 kB / 344.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2872, allocations: 0 / 344.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.2883, allocations: 0.7542 MB / 345.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.2901, allocations: 1.04 MB / 346.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2901, allocations: 240 / 346.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.2906, allocations: 95.86 kB / 346.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2906, allocations: 4 kB / 346.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.2906, allocations: 7.938 kB / 346.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2907, allocations: 4 kB / 346.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.2907, allocations: 7.984 kB / 346.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2921, allocations: 0.6947 MB / 347.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.2923, allocations: 160.5 kB / 347.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.2924, allocations: 15.94 kB / 347.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.2928, allocations: 31.97 kB / 347.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.2929, allocations: 19.97 kB / 347.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2929, allocations: 15.98 kB / 347.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003614/0.2933, allocations: 319.1 kB / 347.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2933, allocations: 4 kB / 347.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.2937, allocations: 143.8 kB / 347.9 MB, free: 12.25 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.2939, allocations: 107.6 kB / 348 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.2953, allocations: 0.6837 MB / 348.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2953, allocations: 0 / 348.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.2958, allocations: 183.9 kB / 348.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.2966, allocations: 141 kB / 349 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2984, allocations: 0.9339 MB / 349.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2988, allocations: 0.8313 MB / 350.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.2991, allocations: 68.34 kB / 350.8 MB, free: 9.211 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2992, allocations: 43.44 kB / 350.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2992, allocations: 0 / 350.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of Templates: time 0.01553/0.3148, allocations: 8.906 MB / 359.8 MB, free: 256 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)