Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.9 kB / 15.61 MB, free: 128 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.001246/0.001246, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.459/1.459, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.002305/0.002306, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2607, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004001/0.2647, allocations: 3.483 MB / 328.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2663, allocations: 0.9886 MB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.2664, allocations: 9.812 kB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2667, allocations: 96.61 kB / 329.9 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.2671, allocations: 188.8 kB / 330.1 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2673, allocations: 123.9 kB / 330.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000596/0.2679, allocations: 0.6352 MB / 330.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.2682, allocations: 187.2 kB / 331 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.2685, allocations: 241.7 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.2688, allocations: 273.1 kB / 331.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.2689, allocations: 51.97 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.269, allocations: 54.28 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2691, allocations: 121.3 kB / 331.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.2694, allocations: 292.7 kB / 332 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.2699, allocations: 0.631 MB / 332.6 MB, free: 12.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2699, allocations: 1.156 kB / 332.6 MB, free: 12.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.27, allocations: 4 kB / 332.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.27, allocations: 0 / 332.7 MB, free: 12.33 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001341/0.2713, allocations: 0.8405 MB / 333.5 MB, free: 11.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2714, allocations: 13.75 kB / 333.5 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2715, allocations: 60 kB / 333.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.272, allocations: 394.6 kB / 333.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2721, allocations: 50.92 kB / 334 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.2722, allocations: 36.38 kB / 334 MB, free: 11.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.2729, allocations: 461.1 kB / 334.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2729, allocations: 4 kB / 334.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.2729, allocations: 23.98 kB / 334.5 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.273, allocations: 8 kB / 334.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.2735, allocations: 278.5 kB / 334.8 MB, free: 10.24 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.001993/0.2755, allocations: 1.306 MB / 336.1 MB, free: 8.848 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.2767, allocations: 428.5 kB / 336.5 MB, free: 8.402 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.2769, allocations: 144.9 kB / 336.7 MB, free: 8.258 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.277, allocations: 19.84 kB / 336.7 MB, free: 8.238 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.277, allocations: 38.56 kB / 336.7 MB, free: 8.191 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.277, allocations: 0 / 336.7 MB, free: 8.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001133/0.2782, allocations: 0.6062 MB / 337.3 MB, free: 7.535 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001941/0.2784, allocations: 441 kB / 337.8 MB, free: 7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.2788, allocations: 457.8 kB / 338.2 MB, free: 6.543 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.2789, allocations: 37.7 kB / 338.2 MB, free: 6.5 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2791, allocations: 224.5 kB / 338.5 MB, free: 6.277 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.2792, allocations: 110.4 kB / 338.6 MB, free: 6.168 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2793, allocations: 73.92 kB / 338.6 MB, free: 6.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2794, allocations: 358.8 kB / 339 MB, free: 5.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.2797, allocations: 108.6 kB / 339.1 MB, free: 5.625 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.2801, allocations: 260 kB / 339.3 MB, free: 5.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.2806, allocations: 272.3 kB / 339.6 MB, free: 5.043 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2806, allocations: 0 / 339.6 MB, free: 5.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007255/0.2813, allocations: 420.9 kB / 340 MB, free: 4.613 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.2814, allocations: 37.73 kB / 340.1 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2814, allocations: 0 / 340.1 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.2815, allocations: 49.7 kB / 340.1 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.2818, allocations: 63.89 kB / 340.2 MB, free: 4.453 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.2843, allocations: 2.976 MB / 343.1 MB, free: 1.195 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.2847, allocations: 43.72 kB / 343.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.2848, allocations: 12 kB / 343.2 MB, free: 1.141 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 (36): * Single equations (assignments): 33 * 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.0002102/0.285, allocations: 165.8 kB / 343.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.2851, allocations: 51.44 kB / 343.4 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2852, allocations: 52.69 kB / 343.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2852, allocations: 8 kB / 343.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2852, allocations: 3.938 kB / 343.5 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007242/0.286, allocations: 0.6425 MB / 344.1 MB, free: 112 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2873, allocations: 0.9071 MB / 345 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2873, allocations: 3.938 kB / 345 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.2877, allocations: 75.89 kB / 345.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2877, allocations: 0 / 345.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.2877, allocations: 8 kB / 345.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2877, allocations: 3.938 kB / 345.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2877, allocations: 0 / 345.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.2885, allocations: 0.5111 MB / 345.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.2887, allocations: 168.3 kB / 345.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.2888, allocations: 12.22 kB / 345.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.2891, allocations: 8 kB / 345.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2892, allocations: 23.97 kB / 345.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2892, allocations: 7.984 kB / 345.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003522/0.2896, allocations: 331.1 kB / 346.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2896, allocations: 0 / 346.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.29, allocations: 131.8 kB / 346.3 MB, free: 13.84 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 (32): * Single equations (assignments): 32 * 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.0001464/0.2902, allocations: 107.2 kB / 346.4 MB, free: 13.72 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009895/0.2912, allocations: 0.5746 MB / 347 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2912, allocations: 0 / 347 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2914, allocations: 124.4 kB / 347.1 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007301/0.2922, allocations: 137.8 kB / 347.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.294, allocations: 0.8915 MB / 348.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.2945, allocations: 0.812 MB / 348.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.2948, allocations: 68.34 kB / 349 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2949, allocations: 35.44 kB / 349 MB, free: 10.99 MB / 286.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2949, allocations: 0 / 349 MB, free: 10.99 MB / 286.1 MB Notification: Performance of Templates: time 0.01517/0.3101, allocations: 8.114 MB / 357.1 MB, free: 2.867 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)