Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.00132, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 227.7 MB / 247.2 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.89 kB / 358.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2736, allocations: 50.54 MB / 409 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007852/0.2815, allocations: 5.623 MB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.2847, allocations: 1.452 MB / 416.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006956/0.2854, allocations: 15.94 kB / 416.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.2861, allocations: 190.3 kB / 416.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009389/0.2871, allocations: 380.7 kB / 416.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.2876, allocations: 267.6 kB / 417 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.2891, allocations: 1.359 MB / 418.3 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.2897, allocations: 411.1 kB / 418.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.2903, allocations: 0.506 MB / 419.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007027/0.291, allocations: 0.5874 MB / 419.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.2912, allocations: 116 kB / 419.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2914, allocations: 120 kB / 420 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.2916, allocations: 259.1 kB / 420.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.2923, allocations: 0.6105 MB / 420.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.2938, allocations: 1.411 MB / 422.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2938, allocations: 4 kB / 422.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2938, allocations: 0 / 422.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.2938, allocations: 0 / 422.3 MB, free: 4.055 MB / 334.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.002627/0.2964, allocations: 1.508 MB / 423.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2965, allocations: 15.97 kB / 423.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.2967, allocations: 128.6 kB / 424 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.2969, allocations: 136.1 kB / 424.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.298, allocations: 0.6467 MB / 424.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.2982, allocations: 151.6 kB / 424.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2983, allocations: 68.38 kB / 425 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.2999, allocations: 0.9822 MB / 425.9 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2999, allocations: 3.938 kB / 425.9 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.3, allocations: 36 kB / 426 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3001, allocations: 20 kB / 426 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.3014, allocations: 0.6285 MB / 426.6 MB, free: 15.48 MB / 350.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.004388/0.3058, allocations: 2.653 MB / 429.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.3084, allocations: 0.8737 MB / 430.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.3092, allocations: 350.7 kB / 430.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.969e-05/0.3093, allocations: 20.62 kB / 430.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.3093, allocations: 47.22 kB / 430.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.3094, allocations: 0 / 430.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002874/0.3122, allocations: 1.409 MB / 432 MB, free: 9.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004909/0.3127, allocations: 0.9527 MB / 432.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.3138, allocations: 0.7825 MB / 433.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.127e-05/0.3139, allocations: 45.7 kB / 433.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.3143, allocations: 429 kB / 434.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.3145, allocations: 257.7 kB / 434.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.3148, allocations: 166.6 kB / 434.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3149, allocations: 333.9 kB / 434.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.3155, allocations: 258 kB / 435.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.3164, allocations: 0.5841 MB / 435.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3176, allocations: 0.6678 MB / 436.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3177, allocations: 0 / 436.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001887/0.3195, allocations: 0.9513 MB / 437.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.3196, allocations: 89.03 kB / 437.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3196, allocations: 4 kB / 437.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/0.3201, allocations: 128.3 kB / 437.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.3208, allocations: 147.8 kB / 437.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/0.3274, allocations: 7.337 MB / 445.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.3285, allocations: 107.4 kB / 445.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.3285, allocations: 24.27 kB / 445.2 MB, free: 11.43 MB / 366.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.0004227/0.329, allocations: 239.1 kB / 445.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.3291, allocations: 115.3 kB / 445.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.3293, allocations: 100.9 kB / 445.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3294, allocations: 8 kB / 445.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3294, allocations: 0 / 445.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/0.3309, allocations: 0.9777 MB / 446.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.3338, allocations: 1.748 MB / 448.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.3338, allocations: 0 / 448.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007602/0.3346, allocations: 151.8 kB / 448.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.3347, allocations: 28.84 kB / 448.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.3348, allocations: 19.98 kB / 448.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.3359, allocations: 1.395 MB / 450 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3359, allocations: 0 / 450 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.338, allocations: 1.086 MB / 451.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.3384, allocations: 268.3 kB / 451.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3386, allocations: 24 kB / 451.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/0.3392, allocations: 43.95 kB / 451.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3393, allocations: 44.59 kB / 451.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.3394, allocations: 16 kB / 451.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007478/0.3401, allocations: 0.5498 MB / 452 MB, free: 4.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.3401, allocations: 0 / 452 MB, free: 4.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.3409, allocations: 299.7 kB / 452.3 MB, free: 3.957 MB / 366.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.002425/0.3433, allocations: 1.664 MB / 453.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3456, allocations: 1.39 MB / 455.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3457, allocations: 0 / 455.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.3464, allocations: 426.2 kB / 455.8 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3475, allocations: 283.1 kB / 456 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.3597, allocations: 7.84 MB / 463.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.3604, allocations: 0.9874 MB / 464.9 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005696/0.361, allocations: 131.4 kB / 465 MB, free: 6.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.3615, allocations: 355.3 kB / 465.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3615, allocations: 0 / 465.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07847/0.44, allocations: 26.27 MB / 491.6 MB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.22, allocations: 7.922 kB / 491.6 MB, free: 12.76 MB / 414.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1)