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.001176/0.001176, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001176/0.001176, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1676/0.1676, allocations: 22.36 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.91 kB / 380.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1988, allocations: 54.94 MB / 435.4 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.00303/0.2019, allocations: 3.592 MB / 439 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.2029, allocations: 1.093 MB / 440 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.203, allocations: 6 kB / 440 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.101e-05/0.2031, allocations: 53.73 kB / 440.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.2034, allocations: 159.1 kB / 440.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2037, allocations: 180.5 kB / 440.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.2041, allocations: 0.8182 MB / 441.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.2044, allocations: 351.9 kB / 441.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2046, allocations: 312.7 kB / 441.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2048, allocations: 331.4 kB / 442.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.2049, allocations: 74.88 kB / 442.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.888e-05/0.205, allocations: 71.22 kB / 442.4 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.205, allocations: 147.9 kB / 442.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.2052, allocations: 337.3 kB / 442.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.2056, allocations: 0.7375 MB / 443.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2056, allocations: 0 / 443.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2056, allocations: 0 / 443.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2056, allocations: 0 / 443.6 MB, free: 34.54 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.001181/0.2068, allocations: 0.8349 MB / 444.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.2068, allocations: 8.594 kB / 444.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.2069, allocations: 107.8 kB / 444.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.207, allocations: 57.91 kB / 444.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2071, allocations: 225.7 kB / 444.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2071, allocations: 53.56 kB / 444.9 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.2072, allocations: 65.16 kB / 444.9 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.208, allocations: 0.5463 MB / 445.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.208, allocations: 4 kB / 445.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.208, allocations: 29.75 kB / 445.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2081, allocations: 18.59 kB / 445.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.2087, allocations: 0.4915 MB / 446 MB, free: 33.11 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.2107, allocations: 2.338 MB / 448.3 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/0.2116, allocations: 0.5824 MB / 448.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.2119, allocations: 251 kB / 449.2 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.212, allocations: 7.344 kB / 449.2 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.212, allocations: 41.78 kB / 449.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.573e-06/0.212, allocations: 0 / 449.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01046/0.2224, allocations: 3.927 MB / 453.2 MB, free: 29.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.2225, allocations: 68.92 kB / 453.2 MB, free: 29.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.2226, allocations: 146 kB / 453.4 MB, free: 28.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.2226, allocations: 40.58 kB / 453.4 MB, free: 28.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2227, allocations: 221.2 kB / 453.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.2228, allocations: 298 kB / 453.9 MB, free: 28.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.223, allocations: 119 kB / 454 MB, free: 28.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.223, allocations: 350 kB / 454.4 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.2234, allocations: 267.7 kB / 454.6 MB, free: 27.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.2239, allocations: 341.8 kB / 455 MB, free: 27.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009524/0.2334, allocations: 2.172 MB / 457.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2334, allocations: 0 / 457.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002457/0.2359, allocations: 1.091 MB / 458.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2359, allocations: 11.17 kB / 458.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2359, allocations: 0 / 458.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.2378, allocations: 411.6 kB / 458.6 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.2409, allocations: 428.5 kB / 459.1 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008341/0.2492, allocations: 14.15 MB / 473.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.2497, allocations: 51 kB / 473.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.2498, allocations: 23.03 kB / 473.3 MB, free: 12.64 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.0002868/0.2501, allocations: 259.5 kB / 473.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.2501, allocations: 37.98 kB / 473.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.2533, allocations: 1.262 MB / 474.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.2534, allocations: 10.42 kB / 474.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2534, allocations: 2.562 kB / 474.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.2534, allocations: 5.109 kB / 474.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/0.257, allocations: 1.995 MB / 476.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2571, allocations: 1.094 kB / 476.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/0.2598, allocations: 386.6 kB / 477.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003813/0.2636, allocations: 0.6897 MB / 477.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.2637, allocations: 21.16 kB / 477.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/0.2738, allocations: 14.68 MB / 492.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2738, allocations: 2 kB / 492.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.2775, allocations: 1.703 MB / 494.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.2776, allocations: 113.1 kB / 494.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.2777, allocations: 19.22 kB / 494.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.2782, allocations: 41.7 kB / 494.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.2784, allocations: 87.41 kB / 494.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.2784, allocations: 27.58 kB / 494.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.2785, allocations: 109 kB / 494.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 494.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009088/0.2794, allocations: 231 kB / 494.9 MB, free: 11.44 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.004112/0.2835, allocations: 2.259 MB / 497.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.2887, allocations: 1.844 MB / 499 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2887, allocations: 0 / 499 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004182/0.2929, allocations: 1.551 MB / 0.4889 GB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.2934, allocations: 97.22 kB / 0.4889 GB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/0.3029, allocations: 5.664 MB / 0.4945 GB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.3034, allocations: 0.8852 MB / 0.4953 GB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.3037, allocations: 57.84 kB / 0.4954 GB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.304, allocations: 181.4 kB / 0.4956 GB, free: 2.188 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.304, allocations: 0 / 0.4956 GB, free: 2.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.3423, allocations: 15.15 MB / 0.5104 GB, free: 3.293 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.3426, allocations: 213.3 kB / 0.5106 GB, free: 3.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/2.419, allocations: 0 / 0.5106 GB, free: 3.027 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)