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.007578/0.007578, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001668/0.001668, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.22/0.22, allocations: 22.36 MB / 312.9 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 65.95 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08703, allocations: 54.96 MB / 491.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.00447/0.09154, allocations: 4.252 MB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.09406, allocations: 1.325 MB / 497.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005051/0.09459, allocations: 4 kB / 497.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.09486, allocations: 83.08 kB / 497.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.09555, allocations: 241.9 kB / 497.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.09626, allocations: 303.5 kB / 497.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.09755, allocations: 1.173 MB / 498.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000887/0.09845, allocations: 468.7 kB / 499.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007912/0.09925, allocations: 430.8 kB / 499.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007652/0.1, allocations: 450.3 kB / 0.4885 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1002, allocations: 100 kB / 0.4886 GB, free: 8.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1004, allocations: 100 kB / 0.4887 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.1007, allocations: 203.5 kB / 0.4889 GB, free: 8.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.1012, allocations: 458.1 kB / 0.4894 GB, free: 8.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.1021, allocations: 1.033 MB / 0.4904 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1021, allocations: 0 / 0.4904 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1021, allocations: 0 / 0.4904 GB, free: 7.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1021, allocations: 0 / 0.4904 GB, free: 7.078 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.002046/0.1042, allocations: 1.03 MB / 0.4914 GB, free: 6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1042, allocations: 12.03 kB / 0.4914 GB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.1044, allocations: 135.7 kB / 0.4915 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1045, allocations: 80 kB / 0.4916 GB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1047, allocations: 255.8 kB / 0.4918 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.1048, allocations: 73.88 kB / 0.4919 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.1049, allocations: 84 kB / 0.492 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.106, allocations: 0.7336 MB / 0.4927 GB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1061, allocations: 0 / 0.4927 GB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.1061, allocations: 36 kB / 0.4927 GB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1062, allocations: 24 kB / 0.4928 GB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.1073, allocations: 0.7183 MB / 0.4935 GB, free: 3.809 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.003441/0.1108, allocations: 2.407 MB / 0.4958 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.1125, allocations: 0.8862 MB / 0.4967 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.113, allocations: 343.7 kB / 0.497 GB, free: 40 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.1131, allocations: 12.98 kB / 0.497 GB, free: 28 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.1131, allocations: 51.56 kB / 0.4971 GB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.224e-06/0.1131, allocations: 0 / 0.4971 GB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008607/0.1217, allocations: 3.405 MB / 0.5004 GB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1218, allocations: 64.41 kB / 0.5004 GB, free: 12.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.122, allocations: 207.2 kB / 0.5006 GB, free: 12.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.1221, allocations: 41.7 kB / 0.5007 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1223, allocations: 260.9 kB / 0.5009 GB, free: 11.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.1225, allocations: 390.3 kB / 0.5013 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.1228, allocations: 146.6 kB / 0.5014 GB, free: 11.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1229, allocations: 366.8 kB / 0.5018 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.1235, allocations: 297.9 kB / 0.5021 GB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.1241, allocations: 395.1 kB / 0.5025 GB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.1354, allocations: 2.317 MB / 0.5047 GB, free: 7.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1354, allocations: 0 / 0.5047 GB, free: 7.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002735/0.1381, allocations: 1.172 MB / 0.5059 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1382, allocations: 4 kB / 0.5059 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1382, allocations: 0 / 0.5059 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.1397, allocations: 335 kB / 0.5062 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005881/0.1456, allocations: 0.7375 MB / 0.5069 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.159, allocations: 15.89 MB / 0.5224 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.1597, allocations: 36.03 kB / 0.5225 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/0.1598, allocations: 31.98 kB / 0.5225 GB, free: 4.27 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.0004236/0.1602, allocations: 231.6 kB / 0.5227 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.1603, allocations: 47.44 kB / 0.5227 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.1635, allocations: 1.383 MB / 0.5241 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.1636, allocations: 19.88 kB / 0.5241 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1636, allocations: 4 kB / 0.5241 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.1636, allocations: 7.969 kB / 0.5241 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.1683, allocations: 2.545 MB / 0.5266 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.1684, allocations: 4 kB / 0.5266 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005251/0.1736, allocations: 0.6914 MB / 0.5273 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.1763, allocations: 489 kB / 0.5278 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.1766, allocations: 32 kB / 0.5278 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/0.1911, allocations: 16.14 MB / 0.5436 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.1911, allocations: 11.94 kB / 0.5436 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.1952, allocations: 1.955 MB / 0.5455 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.1954, allocations: 136.5 kB / 0.5456 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1955, allocations: 31.98 kB / 0.5456 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.1962, allocations: 32 kB / 0.5457 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.1965, allocations: 120.6 kB / 0.5458 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.1965, allocations: 43.92 kB / 0.5458 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.1967, allocations: 159.2 kB / 0.546 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1967, allocations: 7.938 kB / 0.546 GB, free: 10.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001182/0.1979, allocations: 260 kB / 0.5462 GB, free: 10.2 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.00406/0.202, allocations: 2.531 MB / 0.5487 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00744/0.2094, allocations: 1.998 MB / 0.5507 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2094, allocations: 0 / 0.5507 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006138/0.2156, allocations: 1.626 MB / 0.5522 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2167, allocations: 177.9 kB / 0.5524 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.2275, allocations: 6.391 MB / 0.5587 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.228, allocations: 0.9288 MB / 0.5596 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000447/0.2285, allocations: 85.12 kB / 0.5596 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.2288, allocations: 247.3 kB / 0.5599 GB, free: 11.65 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2288, allocations: 0 / 0.5599 GB, free: 11.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0501/0.2789, allocations: 19.46 MB / 0.5789 GB, free: 8.352 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.52, allocations: 2.344 kB / 0.5789 GB, free: 8.352 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)