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.001168/0.001168, allocations: 99.36 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.001406/0.001406, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.55/1.55, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001394/0.001393, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2489, allocations: 46.63 MB / 324.8 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003925/0.2529, allocations: 3.517 MB / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2545, allocations: 0.9884 MB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.2547, allocations: 5.5 kB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.255, allocations: 81.8 kB / 329.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.2554, allocations: 172.9 kB / 329.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.2557, allocations: 99.94 kB / 329.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.2564, allocations: 0.6314 MB / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.2567, allocations: 191.7 kB / 330.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.2569, allocations: 236.7 kB / 330.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.2573, allocations: 276.2 kB / 331 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.2574, allocations: 53.41 kB / 331.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2575, allocations: 57.81 kB / 331.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2576, allocations: 113.6 kB / 331.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.2579, allocations: 297 kB / 331.5 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.2585, allocations: 0.6391 MB / 332.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2585, allocations: 1.156 kB / 332.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2585, allocations: 0 / 332.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2585, allocations: 0 / 332.2 MB, free: 12.41 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.001435/0.26, allocations: 0.836 MB / 333 MB, free: 11.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.26, allocations: 9.312 kB / 333 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2602, allocations: 60.78 kB / 333.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.2607, allocations: 393.3 kB / 333.5 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.2608, allocations: 64.14 kB / 333.5 MB, free: 11.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.2609, allocations: 37.12 kB / 333.6 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.2615, allocations: 465.1 kB / 334 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2616, allocations: 0 / 334 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.2616, allocations: 16 kB / 334 MB, free: 10.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2616, allocations: 8 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.2622, allocations: 274.5 kB / 334.3 MB, free: 10.45 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.001951/0.2641, allocations: 1.306 MB / 335.6 MB, free: 9.051 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2652, allocations: 433.2 kB / 336 MB, free: 8.602 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2655, allocations: 140.8 kB / 336.2 MB, free: 8.461 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.2655, allocations: 7.938 kB / 336.2 MB, free: 8.453 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2655, allocations: 38.56 kB / 336.2 MB, free: 8.406 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/0.2656, allocations: 3.938 kB / 336.2 MB, free: 8.402 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001146/0.2667, allocations: 0.6024 MB / 336.8 MB, free: 7.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.2669, allocations: 452.9 kB / 337.3 MB, free: 7.203 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.2674, allocations: 453.8 kB / 337.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.2674, allocations: 33.7 kB / 337.7 MB, free: 6.711 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.2676, allocations: 232.5 kB / 338 MB, free: 6.48 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2677, allocations: 110.4 kB / 338.1 MB, free: 6.371 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2679, allocations: 81.92 kB / 338.1 MB, free: 6.285 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2681, allocations: 350.9 kB / 338.5 MB, free: 5.934 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.2683, allocations: 116.5 kB / 338.6 MB, free: 5.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2687, allocations: 252.1 kB / 338.9 MB, free: 5.523 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.2692, allocations: 272.3 kB / 339.1 MB, free: 5.246 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2692, allocations: 3.938 kB / 339.1 MB, free: 5.242 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007058/0.2699, allocations: 417 kB / 339.5 MB, free: 4.816 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.2699, allocations: 33.7 kB / 339.6 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.2699, allocations: 0 / 339.6 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.2701, allocations: 53.62 kB / 339.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.2705, allocations: 71.98 kB / 339.7 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.2731, allocations: 2.972 MB / 342.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.2735, allocations: 39.72 kB / 342.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.2735, allocations: 19.98 kB / 342.7 MB, free: 1.336 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.0001929/0.2737, allocations: 165.8 kB / 342.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.2738, allocations: 51.44 kB / 342.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.2739, allocations: 48.7 kB / 343 MB, free: 1.066 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2739, allocations: 4 kB / 343 MB, free: 1.062 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2739, allocations: 3.938 kB / 343 MB, free: 1.059 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006602/0.2746, allocations: 0.6492 MB / 343.6 MB, free: 312 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.2759, allocations: 0.9043 MB / 344.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2759, allocations: 8.156 kB / 344.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.2762, allocations: 63.97 kB / 344.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2763, allocations: 0 / 344.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.2763, allocations: 11.98 kB / 344.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2763, allocations: 3.938 kB / 344.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2763, allocations: 7.922 kB / 344.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.2771, allocations: 0.5114 MB / 345.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.2773, allocations: 168.4 kB / 345.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.2774, allocations: 4 kB / 345.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2777, allocations: 27.89 kB / 345.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.2777, allocations: 15.97 kB / 345.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.2778, allocations: 12.06 kB / 345.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.2781, allocations: 319.1 kB / 345.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2781, allocations: 0 / 345.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.2786, allocations: 131.8 kB / 345.8 MB, free: 14.04 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.0001324/0.2787, allocations: 111.2 kB / 345.9 MB, free: 13.92 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.2797, allocations: 0.5708 MB / 346.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.2797, allocations: 4 kB / 346.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.2799, allocations: 127.8 kB / 346.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.2807, allocations: 137.8 kB / 346.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2823, allocations: 1.024 MB / 347.8 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.2827, allocations: 0.8198 MB / 348.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.2829, allocations: 60.34 kB / 348.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.283, allocations: 39.44 kB / 348.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.283, allocations: 0 / 348.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Templates: time 0.0133/0.2963, allocations: 8.09 MB / 356.8 MB, free: 2.949 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)