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.004868/0.004868, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001128/0.001128, allocations: 197 kB / 16.67 MB, free: 5.973 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2115/0.2115, allocations: 22.35 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 70.66 kB / 436.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08615, allocations: 54.96 MB / 491.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.00416/0.09034, allocations: 4.258 MB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.09233, allocations: 1.329 MB / 497.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.09252, allocations: 8 kB / 497.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.09268, allocations: 87.06 kB / 497.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.09312, allocations: 237.9 kB / 497.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.09364, allocations: 303.5 kB / 497.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008825/0.09453, allocations: 1.169 MB / 498.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.09507, allocations: 472.7 kB / 499.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.0955, allocations: 422.9 kB / 499.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.09598, allocations: 454.2 kB / 0.4885 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.0961, allocations: 100 kB / 0.4886 GB, free: 8.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.09624, allocations: 100 kB / 0.4887 GB, free: 8.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.0964, allocations: 203.4 kB / 0.4889 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.09679, allocations: 462.1 kB / 0.4893 GB, free: 8.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008748/0.09768, allocations: 1.032 MB / 0.4903 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.09769, allocations: 0 / 0.4903 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.0977, allocations: 4 kB / 0.4904 GB, free: 7.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.09771, allocations: 0 / 0.4904 GB, free: 7.066 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.00202/0.09974, allocations: 1.046 MB / 0.4914 GB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.09978, allocations: 12.03 kB / 0.4914 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.09993, allocations: 131.7 kB / 0.4915 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1001, allocations: 88.42 kB / 0.4916 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1003, allocations: 249.3 kB / 0.4918 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.1003, allocations: 73.94 kB / 0.4919 GB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.1005, allocations: 84 kB / 0.492 GB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1017, allocations: 0.7374 MB / 0.4927 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1017, allocations: 0 / 0.4927 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.1018, allocations: 36 kB / 0.4927 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1018, allocations: 20 kB / 0.4928 GB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.103, allocations: 0.7183 MB / 0.4935 GB, free: 3.785 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.003641/0.1067, allocations: 2.417 MB / 0.4958 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.1084, allocations: 0.8824 MB / 0.4967 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.109, allocations: 343.7 kB / 0.497 GB, free: 8 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.1091, allocations: 13.03 kB / 0.497 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1091, allocations: 43.56 kB / 0.4971 GB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.544e-06/0.1091, allocations: 0 / 0.4971 GB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008607/0.1177, allocations: 3.422 MB / 0.5004 GB, free: 12.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1178, allocations: 64.41 kB / 0.5005 GB, free: 12.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.118, allocations: 211.2 kB / 0.5007 GB, free: 12.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.1181, allocations: 41.7 kB / 0.5007 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1182, allocations: 257.5 kB / 0.501 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.1185, allocations: 408.4 kB / 0.5013 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.1187, allocations: 162.5 kB / 0.5015 GB, free: 11.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1188, allocations: 362.8 kB / 0.5018 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.1194, allocations: 297.9 kB / 0.5021 GB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.1199, allocations: 391.1 kB / 0.5025 GB, free: 10.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.1307, allocations: 2.325 MB / 0.5048 GB, free: 7.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.1307, allocations: 4 kB / 0.5048 GB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002593/0.1333, allocations: 1.168 MB / 0.5059 GB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1334, allocations: 8 kB / 0.5059 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1334, allocations: 0 / 0.5059 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.1348, allocations: 339 kB / 0.5062 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005306/0.1401, allocations: 0.7375 MB / 0.507 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.1532, allocations: 15.89 MB / 0.5225 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.1538, allocations: 31.97 kB / 0.5225 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.1539, allocations: 31.98 kB / 0.5225 GB, free: 4.195 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.0004084/0.1544, allocations: 221 kB / 0.5228 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1545, allocations: 59.67 kB / 0.5228 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.1577, allocations: 1.383 MB / 0.5242 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1577, allocations: 15.94 kB / 0.5242 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1577, allocations: 3.938 kB / 0.5242 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.1577, allocations: 15.91 kB / 0.5242 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/0.1623, allocations: 2.55 MB / 0.5267 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.1623, allocations: 4 kB / 0.5267 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004995/0.1673, allocations: 0.683 MB / 0.5274 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.1698, allocations: 494.8 kB / 0.5278 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.1699, allocations: 39.97 kB / 0.5279 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.1845, allocations: 16.14 MB / 0.5436 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.1845, allocations: 8 kB / 0.5436 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.1883, allocations: 1.967 MB / 0.5456 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1885, allocations: 132.8 kB / 0.5457 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1886, allocations: 35.98 kB / 0.5457 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.1892, allocations: 28 kB / 0.5457 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.1895, allocations: 120.6 kB / 0.5459 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.1896, allocations: 43.98 kB / 0.5459 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1897, allocations: 163.1 kB / 0.5461 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1897, allocations: 0 / 0.5461 GB, free: 10.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001131/0.1909, allocations: 264 kB / 0.5463 GB, free: 10.11 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.004067/0.195, allocations: 2.535 MB / 0.5488 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007093/0.2021, allocations: 1.994 MB / 0.5507 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.2021, allocations: 4 kB / 0.5507 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006039/0.2081, allocations: 1.626 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.001029/0.2092, allocations: 181.9 kB / 0.5525 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.2197, allocations: 6.42 MB / 0.5588 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.2202, allocations: 0.9327 MB / 0.5597 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.2207, allocations: 93.05 kB / 0.5598 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.2211, allocations: 243.4 kB / 0.56 GB, free: 11.51 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2211, allocations: 0 / 0.56 GB, free: 11.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.2685, allocations: 19 MB / 0.5785 GB, free: 8.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.73, allocations: 5.578 kB / 0.5786 GB, free: 8.672 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_AHU_001_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 AES_AES_Devel_test_models_Test_AHU_001.fmu > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)