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.001382/0.001381, 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.001636/0.001636, allocations: 191.5 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.428/1.428, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001131/0.001131, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2331, allocations: 46.63 MB / 324.8 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004801/0.238, allocations: 3.694 MB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2401, allocations: 1.01 MB / 329.5 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.2404, allocations: 5.75 kB / 329.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.2408, allocations: 85.41 kB / 329.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.2412, allocations: 181.6 kB / 329.8 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2415, allocations: 108.1 kB / 329.9 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.2423, allocations: 0.6789 MB / 330.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.2427, allocations: 193 kB / 330.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.243, allocations: 258 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.2434, allocations: 296.9 kB / 331.3 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2436, allocations: 58.56 kB / 331.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2437, allocations: 56.34 kB / 331.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2438, allocations: 125.9 kB / 331.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.2442, allocations: 319.7 kB / 331.9 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.2449, allocations: 0.6824 MB / 332.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.245, allocations: 0 / 332.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.245, allocations: 1.125 kB / 332.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.245, allocations: 0 / 332.6 MB, free: 12.12 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.001628/0.2466, allocations: 0.89 MB / 333.4 MB, free: 11.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2467, allocations: 9.344 kB / 333.5 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2468, allocations: 65.03 kB / 333.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.2475, allocations: 426.5 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.2477, allocations: 86.88 kB / 334 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.2478, allocations: 28.38 kB / 334 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.2486, allocations: 0.4893 MB / 334.5 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2486, allocations: 4 kB / 334.5 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.2487, allocations: 16 kB / 334.6 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2487, allocations: 8 kB / 334.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/0.2495, allocations: 362.4 kB / 334.9 MB, free: 9.844 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.001971/0.2515, allocations: 1.306 MB / 336.2 MB, free: 8.449 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.2522, allocations: 391.5 kB / 336.6 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.2526, allocations: 193.9 kB / 336.8 MB, free: 7.848 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.2527, allocations: 15.97 kB / 336.8 MB, free: 7.832 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2527, allocations: 42.5 kB / 336.9 MB, free: 7.781 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.2527, allocations: 4 kB / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.00173/0.2545, allocations: 0.7587 MB / 337.6 MB, free: 6.969 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.2547, allocations: 453 kB / 338.1 MB, free: 6.422 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.2552, allocations: 450 kB / 338.5 MB, free: 5.969 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.2552, allocations: 33.7 kB / 338.5 MB, free: 5.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2554, allocations: 244.4 kB / 338.8 MB, free: 5.688 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.2555, allocations: 118.2 kB / 338.9 MB, free: 5.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.2556, allocations: 77.69 kB / 339 MB, free: 5.488 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2558, allocations: 362.7 kB / 339.3 MB, free: 5.125 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.2562, allocations: 155.9 kB / 339.5 MB, free: 4.973 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.2567, allocations: 294.5 kB / 339.8 MB, free: 4.633 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.2574, allocations: 365.2 kB / 340.1 MB, free: 4.266 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2574, allocations: 0 / 340.1 MB, free: 4.266 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001046/0.2585, allocations: 0.4976 MB / 340.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.2585, allocations: 32.67 kB / 340.6 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2586, allocations: 0 / 340.6 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.2587, allocations: 57.69 kB / 340.7 MB, free: 3.652 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.2592, allocations: 83.88 kB / 340.8 MB, free: 3.57 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.2614, allocations: 2.97 MB / 343.7 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.262, allocations: 59.75 kB / 343.8 MB, free: 268 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.262, allocations: 11.94 kB / 343.8 MB, free: 256 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.0002131/0.2622, allocations: 177.7 kB / 344 MB, free: 68 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.2623, allocations: 51.44 kB / 344 MB, free: 16 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.2624, allocations: 60.83 kB / 344.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2625, allocations: 4 kB / 344.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2625, allocations: 0 / 344.1 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009583/0.2634, allocations: 0.758 MB / 344.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.265, allocations: 1.028 MB / 345.9 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2651, allocations: 0 / 345.9 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.2655, allocations: 99.86 kB / 346 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2655, allocations: 0 / 346 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.2656, allocations: 11.94 kB / 346 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.2656, allocations: 0 / 346 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2656, allocations: 3.938 kB / 346 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.267, allocations: 0.6947 MB / 346.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.2672, allocations: 164.4 kB / 346.9 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.2673, allocations: 11.94 kB / 346.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.2676, allocations: 39.89 kB / 346.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.2677, allocations: 24.03 kB / 346.9 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2678, allocations: 12 kB / 346.9 MB, free: 12.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.2681, allocations: 327.1 kB / 347.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2681, allocations: 0 / 347.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.2686, allocations: 139.8 kB / 347.4 MB, free: 12.46 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.0001164/0.2687, allocations: 103.5 kB / 347.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.27, allocations: 0.6838 MB / 348.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.27, allocations: 0 / 348.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.2704, allocations: 187.8 kB / 348.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.2711, allocations: 146 kB / 348.5 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2727, allocations: 1.079 MB / 349.6 MB, free: 10.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2731, allocations: 0.8273 MB / 350.4 MB, free: 9.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.2734, allocations: 68.34 kB / 350.5 MB, free: 9.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2735, allocations: 43.42 kB / 350.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.2735, allocations: 3.938 kB / 350.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of Templates: time 0.01402/0.2875, allocations: 8.692 MB / 359.2 MB, free: 0.5156 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)