Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01013/0.01013, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002122/0.002122, allocations: 199.1 kB / 16.67 MB, free: 5.52 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.001165/0.001166, allocations: 47.94 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1002, allocations: 46.62 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2046/0.3048, allocations: 5.59 MB / 378.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3076, allocations: 1.469 MB / 380.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.3079, allocations: 13.56 kB / 380.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3084, allocations: 198.2 kB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005991/0.309, allocations: 397.4 kB / 380.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.3095, allocations: 261.1 kB / 381.1 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.3109, allocations: 1.367 MB / 382.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.3113, allocations: 411.9 kB / 382.8 MB, free: 9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.3119, allocations: 0.5108 MB / 383.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.3125, allocations: 0.5857 MB / 383.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.3126, allocations: 117.3 kB / 384 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.3129, allocations: 125.2 kB / 384.2 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.313, allocations: 249.7 kB / 384.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.3135, allocations: 0.6141 MB / 385 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3149, allocations: 1.404 MB / 386.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3149, allocations: 0 / 386.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3149, allocations: 0 / 386.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.315, allocations: 1.125 kB / 386.4 MB, free: 7.438 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002329/0.3173, allocations: 1.482 MB / 387.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3173, allocations: 9.281 kB / 387.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.3176, allocations: 125.3 kB / 388 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.3186, allocations: 0.6401 MB / 388.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.3188, allocations: 152.5 kB / 388.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3189, allocations: 70.66 kB / 388.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.3203, allocations: 0.9768 MB / 389.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3204, allocations: 0 / 389.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.3205, allocations: 34.66 kB / 389.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3205, allocations: 16.34 kB / 389.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3218, allocations: 0.6208 MB / 390.5 MB, free: 4.926 MB / 318.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.003914/0.3257, allocations: 2.621 MB / 393.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.3283, allocations: 0.8726 MB / 394 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.329, allocations: 354.4 kB / 394.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.3291, allocations: 15 kB / 394.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.3292, allocations: 46.44 kB / 394.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 4.068e-06/0.3292, allocations: 4 kB / 394.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.003472/0.3327, allocations: 1.401 MB / 395.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000365/0.333, allocations: 0.9494 MB / 396.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.3345, allocations: 0.786 MB / 397.6 MB, free: 392 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.3346, allocations: 45.42 kB / 397.6 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.3349, allocations: 419.9 kB / 398 MB, free: 12 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.3353, allocations: 246.2 kB / 398.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.3356, allocations: 161.8 kB / 398.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3357, allocations: 329.5 kB / 398.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.3363, allocations: 261.8 kB / 399 MB, free: 15.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.3374, allocations: 0.5863 MB / 399.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.339, allocations: 0.6618 MB / 400.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.339, allocations: 5.859 kB / 400.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002443/0.3414, allocations: 0.9485 MB / 401.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.3415, allocations: 86.09 kB / 401.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3415, allocations: 1.25 kB / 401.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.342, allocations: 129.1 kB / 401.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.3427, allocations: 150.1 kB / 401.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.3495, allocations: 7.326 MB / 408.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.3511, allocations: 109.4 kB / 409 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.3512, allocations: 22.56 kB / 409 MB, free: 6.352 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000557/0.3518, allocations: 243.8 kB / 409.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.352, allocations: 104.3 kB / 409.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.3522, allocations: 104.4 kB / 409.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3522, allocations: 6.906 kB / 409.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.3522, allocations: 1.25 kB / 409.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/0.3538, allocations: 0.9731 MB / 410.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/0.3571, allocations: 1.747 MB / 412.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3571, allocations: 0 / 412.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007695/0.3579, allocations: 156.6 kB / 412.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.358, allocations: 29.25 kB / 412.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.773e-05/0.3582, allocations: 12.19 kB / 412.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.3592, allocations: 1.408 MB / 413.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3592, allocations: 0 / 413.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.3614, allocations: 1.075 MB / 414.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.362, allocations: 264.3 kB / 415.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.3622, allocations: 21.84 kB / 415.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.3629, allocations: 37.62 kB / 415.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.363, allocations: 42.56 kB / 415.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.363, allocations: 22.73 kB / 415.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007175/0.3638, allocations: 0.5431 MB / 415.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3638, allocations: 4 kB / 415.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009598/0.3647, allocations: 295.4 kB / 416.1 MB, free: 1.195 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.3649, allocations: 122.7 kB / 416.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.3671, allocations: 1.393 MB / 417.6 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3672, allocations: 2.625 kB / 417.6 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.3679, allocations: 421.4 kB / 418 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3691, allocations: 292.4 kB / 418.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.3719, allocations: 1.672 MB / 420 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.3724, allocations: 0.9823 MB / 421 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.373, allocations: 131.5 kB / 421.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.3732, allocations: 71.44 kB / 421.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3732, allocations: 3.938 kB / 421.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Templates: time 0.02882/0.402, allocations: 17.82 MB / 439 MB, free: 11.57 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)