Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",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.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001015/0.001015, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1666/0.1666, allocations: 22.36 MB / 312.3 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 380.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2039, allocations: 54.94 MB / 435.2 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.002958/0.2069, allocations: 3.598 MB / 438.8 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.2079, allocations: 1.101 MB / 439.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.208, allocations: 3.969 kB / 439.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.2081, allocations: 49.2 kB / 439.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.2084, allocations: 159.3 kB / 440.1 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.2086, allocations: 178.2 kB / 440.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.209, allocations: 0.779 MB / 441 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.2093, allocations: 303.3 kB / 441.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.2095, allocations: 264.9 kB / 441.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2097, allocations: 310.2 kB / 441.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.2097, allocations: 44.47 kB / 441.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.2098, allocations: 38.88 kB / 442 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.2099, allocations: 120 kB / 442.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.2101, allocations: 303.2 kB / 442.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.2104, allocations: 0.7121 MB / 443.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2104, allocations: 3.938 kB / 443.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.2104, allocations: 0 / 443.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2104, allocations: 0 / 443.1 MB, free: 34.62 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001145/0.2116, allocations: 0.8344 MB / 443.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.2116, allocations: 12.97 kB / 443.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.867e-05/0.2117, allocations: 110.8 kB / 444 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.2118, allocations: 56.59 kB / 444.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2119, allocations: 228.3 kB / 444.3 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.2119, allocations: 50.91 kB / 444.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.212, allocations: 75.11 kB / 444.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.2127, allocations: 0.5421 MB / 445 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2127, allocations: 0 / 445 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.2128, allocations: 27.09 kB / 445 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2128, allocations: 15.69 kB / 445 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.2135, allocations: 0.489 MB / 445.5 MB, free: 33.19 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2154, allocations: 2.324 MB / 447.8 MB, free: 31.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/0.2164, allocations: 0.5901 MB / 448.4 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.2167, allocations: 242 kB / 448.7 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.2168, allocations: 16.41 kB / 448.7 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.2168, allocations: 41.75 kB / 448.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.894e-06/0.2168, allocations: 0 / 448.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01046/0.2272, allocations: 3.938 MB / 452.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.2273, allocations: 62.81 kB / 452.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.2273, allocations: 143.4 kB / 452.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.2274, allocations: 40.98 kB / 452.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.2275, allocations: 226.8 kB / 453.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2276, allocations: 299.2 kB / 453.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2277, allocations: 112.9 kB / 453.5 MB, free: 28.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.2278, allocations: 349.7 kB / 453.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.2282, allocations: 267.5 kB / 454.1 MB, free: 28.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.2286, allocations: 332.5 kB / 454.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009415/0.238, allocations: 2.169 MB / 456.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.238, allocations: 3.938 kB / 456.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002492/0.2405, allocations: 1.092 MB / 457.7 MB, free: 26.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2406, allocations: 9.781 kB / 457.7 MB, free: 26.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2406, allocations: 4 kB / 457.7 MB, free: 26.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.2424, allocations: 408.6 kB / 458.1 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.2453, allocations: 426.2 kB / 458.5 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008025/0.2534, allocations: 13.06 MB / 471.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.2538, allocations: 54.31 kB / 471.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.2539, allocations: 25.3 kB / 471.7 MB, free: 13.79 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V2.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.2542, allocations: 248.3 kB / 471.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.2543, allocations: 38.36 kB / 472 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/0.2574, allocations: 1.262 MB / 473.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.2575, allocations: 15.8 kB / 473.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2575, allocations: 2.781 kB / 473.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2575, allocations: 4.641 kB / 473.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.2611, allocations: 1.993 MB / 475.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2611, allocations: 1.156 kB / 475.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/0.2638, allocations: 390 kB / 475.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.2675, allocations: 0.6859 MB / 476.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.2676, allocations: 25.8 kB / 476.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009391/0.277, allocations: 13.55 MB / 489.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.277, allocations: 5.062 kB / 489.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.2804, allocations: 1.713 MB / 491.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.2805, allocations: 107.3 kB / 491.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.2806, allocations: 18.56 kB / 491.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.2811, allocations: 42.38 kB / 491.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.2813, allocations: 80.84 kB / 491.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.2813, allocations: 27.36 kB / 491.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.683e-05/0.2814, allocations: 112.6 kB / 492 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 0 / 492 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009127/0.2823, allocations: 229.9 kB / 492.2 MB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00404/0.2864, allocations: 2.265 MB / 494.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004693/0.2911, allocations: 1.821 MB / 496.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2911, allocations: 1.125 kB / 496.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.2951, allocations: 1.543 MB / 497.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.2957, allocations: 83.86 kB / 497.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/0.3053, allocations: 5.67 MB / 0.4918 GB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.3057, allocations: 0.8811 MB / 0.4926 GB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.3061, allocations: 58.09 kB / 0.4927 GB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.3063, allocations: 177 kB / 0.4929 GB, free: 4.961 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3063, allocations: 0 / 0.4929 GB, free: 4.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.413/2.72, allocations: 14.51 MB / 0.507 GB, free: 6.684 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/2.72, allocations: 210.3 kB / 0.5072 GB, free: 6.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/4.801, allocations: 0 / 0.5072 GB, free: 6.426 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)