Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_AHU_001.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_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",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.004539/0.004539, allocations: 102 kB / 15.73 MB, free: 6.449 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.001266/0.001266, allocations: 200.9 kB / 16.68 MB, free: 6.352 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2052/0.2052, allocations: 22.36 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 66.77 kB / 436.6 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08411, allocations: 54.96 MB / 491.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004747/0.08888, allocations: 4.251 MB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.09121, allocations: 1.325 MB / 497.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.0915, allocations: 4 kB / 497.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.09173, allocations: 83.08 kB / 497.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.09228, allocations: 237.9 kB / 497.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.09295, allocations: 303.5 kB / 497.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.0943, allocations: 1.169 MB / 498.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.09498, allocations: 476.7 kB / 499.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.0955, allocations: 426.8 kB / 499.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.09606, allocations: 450.3 kB / 0.4885 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.09621, allocations: 100 kB / 0.4886 GB, free: 8.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.09638, allocations: 100 kB / 0.4887 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.09658, allocations: 207.4 kB / 0.4889 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.09701, allocations: 458.1 kB / 0.4893 GB, free: 8.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.09803, allocations: 1.028 MB / 0.4904 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.09805, allocations: 8 kB / 0.4904 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.09806, allocations: 0 / 0.4904 GB, free: 7.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.09808, allocations: 0 / 0.4904 GB, free: 7.07 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002087/0.1002, allocations: 1.041 MB / 0.4914 GB, free: 5.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1002, allocations: 12.03 kB / 0.4914 GB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.1004, allocations: 139.7 kB / 0.4915 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1005, allocations: 88.42 kB / 0.4916 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1008, allocations: 257 kB / 0.4919 GB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.1008, allocations: 69.94 kB / 0.4919 GB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.101, allocations: 84 kB / 0.492 GB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.1023, allocations: 0.7297 MB / 0.4927 GB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1023, allocations: 0 / 0.4927 GB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.1024, allocations: 39.94 kB / 0.4927 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.1024, allocations: 20 kB / 0.4928 GB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1037, allocations: 0.7222 MB / 0.4935 GB, free: 3.781 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.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 = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.1074, allocations: 2.413 MB / 0.4958 GB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.1095, allocations: 0.886 MB / 0.4967 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.1102, allocations: 339.8 kB / 0.497 GB, free: 12 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.1103, allocations: 17.02 kB / 0.497 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1103, allocations: 43.56 kB / 0.4971 GB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.094e-06/0.1103, allocations: 0 / 0.4971 GB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009221/0.1195, allocations: 3.422 MB / 0.5004 GB, free: 12.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1196, allocations: 64.41 kB / 0.5005 GB, free: 12.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1198, allocations: 207.2 kB / 0.5007 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.1199, allocations: 45.7 kB / 0.5007 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1201, allocations: 257.5 kB / 0.501 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.1204, allocations: 408.4 kB / 0.5014 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.1207, allocations: 150.6 kB / 0.5015 GB, free: 11.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1209, allocations: 370.8 kB / 0.5019 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.1214, allocations: 297.9 kB / 0.5021 GB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.1221, allocations: 395.1 kB / 0.5025 GB, free: 10.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.1339, allocations: 2.317 MB / 0.5048 GB, free: 7.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1339, allocations: 0 / 0.5048 GB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002889/0.1368, allocations: 1.172 MB / 0.5059 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1369, allocations: 4 kB / 0.5059 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1369, allocations: 0 / 0.5059 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.1385, allocations: 339 kB / 0.5062 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005914/0.1444, allocations: 0.7375 MB / 0.507 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.1598, allocations: 15.9 MB / 0.5225 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.1604, allocations: 31.97 kB / 0.5225 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.1605, allocations: 24 kB / 0.5225 GB, free: 4.203 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 1e5 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: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {1, 1, 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,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003927/0.1609, allocations: 235.7 kB / 0.5228 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.161, allocations: 55.67 kB / 0.5228 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.1645, allocations: 1.379 MB / 0.5242 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.1645, allocations: 15.94 kB / 0.5242 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1645, allocations: 4 kB / 0.5242 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.1645, allocations: 11.97 kB / 0.5242 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.1695, allocations: 2.545 MB / 0.5267 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.1696, allocations: 4 kB / 0.5267 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005131/0.1747, allocations: 0.6793 MB / 0.5274 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.1773, allocations: 0.4933 MB / 0.5278 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.1774, allocations: 32 kB / 0.5279 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.193, allocations: 16.14 MB / 0.5436 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/0.1931, allocations: 11.94 kB / 0.5436 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.1972, allocations: 1.959 MB / 0.5456 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.1973, allocations: 132.8 kB / 0.5457 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.1975, allocations: 35.98 kB / 0.5457 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/0.1981, allocations: 28 kB / 0.5457 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.1983, allocations: 128.5 kB / 0.5459 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.1984, allocations: 39.98 kB / 0.5459 GB, free: 10.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1986, allocations: 155.2 kB / 0.5461 GB, free: 10.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1986, allocations: 0 / 0.5461 GB, free: 10.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001069/0.1997, allocations: 264 kB / 0.5463 GB, free: 10.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Ma,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 (92): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {1, 1, 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): 2 systems {(1,5), (3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004442/0.2041, allocations: 2.543 MB / 0.5488 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007463/0.2116, allocations: 1.998 MB / 0.5507 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2116, allocations: 0 / 0.5507 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006349/0.218, allocations: 1.63 MB / 0.5523 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.219, allocations: 177.9 kB / 0.5525 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.2303, allocations: 6.423 MB / 0.5588 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.231, allocations: 0.9327 MB / 0.5597 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.2315, allocations: 89.12 kB / 0.5598 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.2318, allocations: 243.3 kB / 0.56 GB, free: 11.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2319, allocations: 0 / 0.56 GB, free: 11.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4393/0.6712, allocations: 19 MB / 0.5786 GB, free: 8.688 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.94, allocations: 3.859 kB / 0.5786 GB, free: 8.684 MB / 462.1 MB (rm -f AES_AES.Devel_test_models.Test_AHU_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_AHU_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_AHU_001.pipe >> ../files/AES_AES.Devel_test_models.Test_AHU_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_AHU_001_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_AHU_001.fmu > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)