Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108 kB / 15.61 MB, free: 152 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.001799/0.001799, allocations: 196.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1912/0.1912, allocations: 22.35 MB / 312.7 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 380.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2443, allocations: 54.94 MB / 435.9 MB, free: 39.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.003348/0.2477, allocations: 3.507 MB / 439.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2489, allocations: 1.105 MB / 440.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.249, allocations: 3.312 kB / 440.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.2491, allocations: 64.78 kB / 440.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.2494, allocations: 183.2 kB / 440.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2497, allocations: 214.3 kB / 441 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.2502, allocations: 0.8463 MB / 441.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.2506, allocations: 450.1 kB / 442.2 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.2508, allocations: 347 kB / 442.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.2512, allocations: 390.4 kB / 443 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.2513, allocations: 79.34 kB / 443 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.2514, allocations: 81.88 kB / 443.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.2515, allocations: 177 kB / 443.3 MB, free: 35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.2517, allocations: 354.3 kB / 443.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.2521, allocations: 0.8199 MB / 444.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2522, allocations: 0 / 444.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2522, allocations: 0 / 444.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2522, allocations: 3.188 kB / 444.5 MB, free: 34.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001513/0.2537, allocations: 0.871 MB / 445.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2537, allocations: 11.5 kB / 445.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.408e-05/0.2538, allocations: 108.8 kB / 445.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.2539, allocations: 56.84 kB / 445.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2541, allocations: 228.1 kB / 445.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.2541, allocations: 55.03 kB / 445.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.2542, allocations: 68.91 kB / 445.8 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.255, allocations: 0.6006 MB / 446.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2551, allocations: 0 / 446.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.2551, allocations: 24.66 kB / 446.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2551, allocations: 21.06 kB / 446.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.256, allocations: 0.609 MB / 447.1 MB, free: 32.98 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.2587, allocations: 1.953 MB / 449.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.26, allocations: 0.6848 MB / 449.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.2605, allocations: 310.8 kB / 450 MB, free: 31.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.2605, allocations: 17.38 kB / 450.1 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.2605, allocations: 42.03 kB / 450.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004134/0.2609, allocations: 109.1 kB / 450.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.944e-06/0.261, allocations: 0 / 450.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006507/0.2675, allocations: 2.911 MB / 453.1 MB, free: 29.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2675, allocations: 61.81 kB / 453.2 MB, free: 29.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2677, allocations: 200 kB / 453.4 MB, free: 29.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.2677, allocations: 41.02 kB / 453.4 MB, free: 29.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.2678, allocations: 193.1 kB / 453.6 MB, free: 29.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.2679, allocations: 303.1 kB / 453.9 MB, free: 29.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.2681, allocations: 144.4 kB / 454 MB, free: 29.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.2682, allocations: 353.9 kB / 454.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.2687, allocations: 277.9 kB / 454.7 MB, free: 28.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.2692, allocations: 338.2 kB / 455 MB, free: 28.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/0.2844, allocations: 2.823 MB / 457.8 MB, free: 27.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2844, allocations: 1 kB / 457.8 MB, free: 27.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00193/0.2864, allocations: 0.9386 MB / 458.7 MB, free: 27.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2864, allocations: 5.812 kB / 458.8 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2864, allocations: 4.75 kB / 458.8 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/0.2874, allocations: 187.6 kB / 458.9 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/0.2915, allocations: 0.5447 MB / 459.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.2977, allocations: 10.62 MB / 470.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.2983, allocations: 20.5 kB / 470.1 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.2983, allocations: 27.25 kB / 470.2 MB, free: 16.7 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.2987, allocations: 196.6 kB / 470.3 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.2988, allocations: 44.25 kB / 470.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.3012, allocations: 1.174 MB / 471.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3012, allocations: 8.906 kB / 471.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3013, allocations: 2.156 kB / 471.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3013, allocations: 5.062 kB / 471.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.3047, allocations: 2.134 MB / 473.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.3047, allocations: 6.406 kB / 473.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003613/0.3083, allocations: 0.5056 MB / 474.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.3102, allocations: 334.1 kB / 474.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.3103, allocations: 35.31 kB / 474.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006768/0.3171, allocations: 10.87 MB / 485.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3171, allocations: 6.219 kB / 485.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.32, allocations: 1.674 MB / 487.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.3201, allocations: 125.9 kB / 487.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.3202, allocations: 33.2 kB / 487.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.3207, allocations: 25.3 kB / 487.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.3209, allocations: 96.94 kB / 487.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.321, allocations: 35.61 kB / 487.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.3211, allocations: 153.7 kB / 487.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3211, allocations: 0 / 487.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008534/0.322, allocations: 193.6 kB / 487.8 MB, free: 2.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/0.3251, allocations: 2.236 MB / 490 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005507/0.3306, allocations: 1.542 MB / 491.6 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3306, allocations: 1.062 kB / 491.6 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004344/0.3349, allocations: 1.215 MB / 492.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.3358, allocations: 147.6 kB / 492.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.3446, allocations: 5.474 MB / 498.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3451, allocations: 0.8749 MB / 499.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.3456, allocations: 87.38 kB / 499.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.346, allocations: 183.7 kB / 499.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.346, allocations: 0 / 499.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05988/0.4059, allocations: 15.14 MB / 0.5026 GB, free: 12.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.04, allocations: 11.11 kB / 0.5026 GB, free: 12.12 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)