Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001541/0.001541, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001841/0.001841, allocations: 194.4 kB / 16.14 MB, free: 6.715 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.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.77 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.001207/0.001206, allocations: 51.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2387, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004575/0.2433, allocations: 3.681 MB / 328.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.246, allocations: 1.019 MB / 329.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.2463, allocations: 13.62 kB / 329.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.2467, allocations: 89.61 kB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.2472, allocations: 165.3 kB / 329.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.2475, allocations: 127.4 kB / 329.8 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.2482, allocations: 0.6411 MB / 330.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.2485, allocations: 174.4 kB / 330.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.2488, allocations: 245.1 kB / 330.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.2491, allocations: 277.3 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.2492, allocations: 39.34 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2493, allocations: 44.72 kB / 331.2 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.2494, allocations: 113.3 kB / 331.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.2497, allocations: 288.1 kB / 331.6 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006464/0.2504, allocations: 0.6721 MB / 332.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2504, allocations: 0 / 332.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2504, allocations: 0 / 332.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2504, allocations: 0 / 332.2 MB, free: 12.24 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.001772/0.2522, allocations: 0.8868 MB / 333.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.2523, allocations: 9.062 kB / 333.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.2525, allocations: 69.91 kB / 333.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.2533, allocations: 429.2 kB / 333.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.2536, allocations: 84.59 kB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.2536, allocations: 28.38 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.2545, allocations: 0.4893 MB / 334.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2545, allocations: 0 / 334.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.2546, allocations: 16 kB / 334.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2546, allocations: 8 kB / 334.2 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/0.2555, allocations: 366.4 kB / 334.6 MB, free: 10.05 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.002102/0.2576, allocations: 1.302 MB / 335.9 MB, free: 8.664 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.2583, allocations: 387.4 kB / 336.3 MB, free: 8.258 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.2587, allocations: 201.9 kB / 336.5 MB, free: 8.059 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.2588, allocations: 7.938 kB / 336.5 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2588, allocations: 38.56 kB / 336.5 MB, free: 8.004 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2588, allocations: 0 / 336.5 MB, free: 8.004 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.00169/0.2605, allocations: 0.7626 MB / 337.3 MB, free: 7.191 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.2607, allocations: 445 kB / 337.7 MB, free: 6.652 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.2613, allocations: 454 kB / 338.2 MB, free: 6.199 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2613, allocations: 41.58 kB / 338.2 MB, free: 6.152 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2615, allocations: 244.4 kB / 338.4 MB, free: 5.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.2616, allocations: 122.2 kB / 338.6 MB, free: 5.789 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.2617, allocations: 77.69 kB / 338.6 MB, free: 5.707 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2619, allocations: 358.7 kB / 339 MB, free: 5.348 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.2623, allocations: 147.9 kB / 339.1 MB, free: 5.203 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.2628, allocations: 302.6 kB / 339.4 MB, free: 4.855 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.2636, allocations: 365.1 kB / 339.8 MB, free: 4.488 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2636, allocations: 0 / 339.8 MB, free: 4.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001024/0.2646, allocations: 0.5014 MB / 340.3 MB, free: 3.969 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.2647, allocations: 37.73 kB / 340.3 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2647, allocations: 0 / 340.3 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.2649, allocations: 49.7 kB / 340.4 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.2653, allocations: 87.86 kB / 340.4 MB, free: 3.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.2674, allocations: 2.744 MB / 343.2 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.2679, allocations: 59.75 kB / 343.2 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.268, allocations: 8 kB / 343.3 MB, free: 0.7031 MB / 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.0001947/0.2682, allocations: 182.3 kB / 343.4 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.2682, allocations: 51.38 kB / 343.5 MB, free: 476 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.2683, allocations: 52.77 kB / 343.5 MB, free: 424 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2683, allocations: 4 kB / 343.5 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2684, allocations: 0 / 343.5 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009605/0.2693, allocations: 0.7596 MB / 344.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2709, allocations: 1.044 MB / 345.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2709, allocations: 4 kB / 345.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.2713, allocations: 95.86 kB / 345.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2713, allocations: 0 / 345.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.2714, allocations: 8 kB / 345.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2714, allocations: 0 / 345.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2714, allocations: 0 / 345.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.2727, allocations: 0.6864 MB / 346.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.2729, allocations: 168.5 kB / 346.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.2729, allocations: 8 kB / 346.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.2733, allocations: 39.95 kB / 346.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.2734, allocations: 27.91 kB / 346.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2735, allocations: 15.98 kB / 346.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003405/0.2738, allocations: 319.1 kB / 346.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2738, allocations: 0 / 346.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00043/0.2742, allocations: 139.8 kB / 346.8 MB, free: 12.91 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.000129/0.2744, allocations: 111.5 kB / 346.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2756, allocations: 0.6686 MB / 347.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2756, allocations: 0 / 347.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.276, allocations: 183.9 kB / 347.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.2768, allocations: 136.8 kB / 347.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.2784, allocations: 1.1 MB / 349 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2788, allocations: 0.8275 MB / 349.9 MB, free: 9.801 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.2791, allocations: 64.34 kB / 349.9 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2792, allocations: 39.44 kB / 350 MB, free: 9.695 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2792, allocations: 0 / 350 MB, free: 9.695 MB / 286.1 MB Notification: Performance of Templates: time 0.01342/0.2926, allocations: 8.231 MB / 358.2 MB, free: 1.453 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)