Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009044/0.0009045, allocations: 89.39 kB / 16.32 MB, free: 6.453 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.00117/0.00117, allocations: 176.2 kB / 17.21 MB, free: 6.328 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.625/1.625, allocations: 205.4 MB / 223.4 MB, free: 5.801 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.0005097/0.0005097, allocations: 12 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3005, allocations: 47.58 MB / 327.7 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003124/0.3037, allocations: 3.003 MB / 330.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3052, allocations: 0.8748 MB / 331.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.3054, allocations: 5.219 kB / 331.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.3056, allocations: 71.95 kB / 331.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.306, allocations: 169.2 kB / 331.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.3063, allocations: 87.62 kB / 331.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.3069, allocations: 0.5611 MB / 332.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.3072, allocations: 152.8 kB / 332.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.3075, allocations: 206.1 kB / 332.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.3078, allocations: 248.3 kB / 333.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.3079, allocations: 34.25 kB / 333.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.308, allocations: 34.84 kB / 333.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.3081, allocations: 93.44 kB / 333.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3083, allocations: 132.8 kB / 333.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.3087, allocations: 485.6 kB / 333.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3087, allocations: 0 / 333.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3088, allocations: 1.406 kB / 333.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3088, allocations: 0 / 333.9 MB, free: 12.8 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.001237/0.31, allocations: 0.7546 MB / 334.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3101, allocations: 9.031 kB / 334.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3102, allocations: 64.03 kB / 334.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.3107, allocations: 375 kB / 335 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3109, allocations: 62.47 kB / 335.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.311, allocations: 37.19 kB / 335.1 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.3118, allocations: 457.1 kB / 335.6 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3118, allocations: 0 / 335.6 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.3118, allocations: 17.09 kB / 335.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3119, allocations: 7.094 kB / 335.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006058/0.3125, allocations: 290.4 kB / 335.9 MB, free: 11.18 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.00199/0.3145, allocations: 1.306 MB / 337.2 MB, free: 9.789 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.3156, allocations: 437.2 kB / 337.6 MB, free: 9.336 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.3158, allocations: 144.8 kB / 337.8 MB, free: 9.191 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3159, allocations: 4 kB / 337.8 MB, free: 9.188 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3159, allocations: 42.56 kB / 337.8 MB, free: 9.137 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.3159, allocations: 3.938 kB / 337.8 MB, free: 9.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.00119/0.3171, allocations: 0.6141 MB / 338.4 MB, free: 8.469 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002415/0.3174, allocations: 448.9 kB / 338.9 MB, free: 7.926 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.3179, allocations: 446 kB / 339.3 MB, free: 7.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3179, allocations: 37.7 kB / 339.3 MB, free: 7.438 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.3181, allocations: 232.5 kB / 339.6 MB, free: 7.207 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3182, allocations: 114.3 kB / 339.7 MB, free: 7.094 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.3183, allocations: 8 kB / 339.7 MB, free: 7.086 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3184, allocations: 350.8 kB / 340 MB, free: 6.734 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.3187, allocations: 116.5 kB / 340.1 MB, free: 6.617 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.319, allocations: 252.1 kB / 340.4 MB, free: 6.32 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.3193, allocations: 163.3 kB / 340.6 MB, free: 6.156 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3193, allocations: 0 / 340.6 MB, free: 6.156 MB / 270.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007163/0.32, allocations: 428.9 kB / 341 MB, free: 5.719 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.3201, allocations: 33.7 kB / 341 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3201, allocations: 0 / 341 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.3203, allocations: 57.64 kB / 341.1 MB, free: 5.617 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.3206, allocations: 67.94 kB / 341.1 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.3231, allocations: 2.748 MB / 343.9 MB, free: 2.531 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.3235, allocations: 47.72 kB / 343.9 MB, free: 2.484 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.3236, allocations: 12 kB / 343.9 MB, free: 2.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.3238, allocations: 165.8 kB / 344.1 MB, free: 2.301 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.3239, allocations: 51.44 kB / 344.1 MB, free: 2.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.324, allocations: 52.66 kB / 344.2 MB, free: 2.199 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.324, allocations: 4 kB / 344.2 MB, free: 2.195 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.324, allocations: 96 / 344.2 MB, free: 2.195 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007027/0.3247, allocations: 0.6609 MB / 344.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.326, allocations: 0.9082 MB / 345.8 MB, free: 472 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.326, allocations: 0 / 345.8 MB, free: 472 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.3264, allocations: 75.83 kB / 345.8 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3264, allocations: 4 kB / 345.8 MB, free: 392 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.3264, allocations: 4 kB / 345.9 MB, free: 388 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3264, allocations: 0 / 345.9 MB, free: 388 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3264, allocations: 7.984 kB / 345.9 MB, free: 380 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.3272, allocations: 0.519 MB / 346.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3275, allocations: 168.3 kB / 346.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.3275, allocations: 12 kB / 346.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.3278, allocations: 24.05 kB / 346.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3279, allocations: 15.97 kB / 346.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3279, allocations: 11.94 kB / 346.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.3282, allocations: 315.1 kB / 346.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3282, allocations: 0 / 346.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000452/0.3287, allocations: 131.8 kB / 347 MB, free: 15.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.3288, allocations: 107.2 kB / 347.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009347/0.3298, allocations: 0.5749 MB / 347.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3298, allocations: 0 / 347.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.3301, allocations: 128.5 kB / 347.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.3308, allocations: 129.9 kB / 348 MB, free: 14.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3325, allocations: 1.06 MB / 349 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3329, allocations: 0.812 MB / 349.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.3332, allocations: 68.34 kB / 349.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3333, allocations: 35.44 kB / 349.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3333, allocations: 0 / 349.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of Templates: time 0.01349/0.3468, allocations: 7.289 MB / 357.2 MB, free: 4.848 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1)