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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 107.5 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09793/0.09793, allocations: 22.34 MB / 319.6 MB, free: 6.754 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002115, allocations: 71.89 kB / 445.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1129, allocations: 54.94 MB / 0.4885 GB, free: 1.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005853/0.1188, allocations: 4.257 MB / 0.4927 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1213, allocations: 1.329 MB / 0.4939 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.1217, allocations: 4 kB / 0.494 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.122, allocations: 87.06 kB / 0.494 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.1227, allocations: 237.9 kB / 0.4943 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.1234, allocations: 307.5 kB / 0.4946 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.1248, allocations: 1.165 MB / 0.4957 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.1255, allocations: 476.9 kB / 0.4961 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006253/0.1261, allocations: 430.8 kB / 0.4966 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.1268, allocations: 446.3 kB / 0.497 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.127, allocations: 100 kB / 0.4971 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1273, allocations: 96 kB / 0.4972 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.1275, allocations: 203.5 kB / 0.4974 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.1281, allocations: 462.1 kB / 0.4978 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1292, allocations: 1.023 MB / 0.4988 GB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1292, allocations: 0 / 0.4988 GB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1292, allocations: 0 / 0.4988 GB, free: 6.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.1293, allocations: 4 kB / 0.4988 GB, free: 6.988 MB / 382.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.00235/0.1316, allocations: 1.055 MB / 0.4998 GB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1317, allocations: 8.031 kB / 0.4998 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.1319, allocations: 139.7 kB / 0.5 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.132, allocations: 84.42 kB / 0.5001 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1323, allocations: 256 kB / 0.5003 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.1324, allocations: 69.94 kB / 0.5004 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.1325, allocations: 84 kB / 0.5005 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.1338, allocations: 0.7297 MB / 0.5012 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1338, allocations: 0 / 0.5012 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.1339, allocations: 36 kB / 0.5012 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.134, allocations: 24 kB / 0.5012 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1353, allocations: 0.7222 MB / 0.5019 GB, free: 3.695 MB / 382.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.004301/0.1396, allocations: 2.417 MB / 0.5043 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.1416, allocations: 0.884 MB / 0.5052 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2223/0.3639, allocations: 339.1 kB / 0.5055 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.3641, allocations: 15.98 kB / 0.5055 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.3641, allocations: 44.81 kB / 0.5055 GB, free: 20.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.096e-06/0.3642, allocations: 0 / 0.5055 GB, free: 20.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008897/0.3731, allocations: 3.417 MB / 0.5089 GB, free: 19.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3731, allocations: 65.62 kB / 0.5089 GB, free: 19.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3733, allocations: 221.5 kB / 0.5091 GB, free: 19.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.3734, allocations: 46.08 kB / 0.5092 GB, free: 19.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3735, allocations: 254.2 kB / 0.5094 GB, free: 19.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.3738, allocations: 408.9 kB / 0.5098 GB, free: 19.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.374, allocations: 151.5 kB / 0.51 GB, free: 19.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.3741, allocations: 358.2 kB / 0.5103 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.3745, allocations: 298.4 kB / 0.5106 GB, free: 18.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.3751, allocations: 397 kB / 0.511 GB, free: 18.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.386, allocations: 2.317 MB / 0.5132 GB, free: 18.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3861, allocations: 1.688 kB / 0.5132 GB, free: 18.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003026/0.3891, allocations: 1.165 MB / 0.5144 GB, free: 18.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.3892, allocations: 5.5 kB / 0.5144 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3892, allocations: 1.938 kB / 0.5144 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.3908, allocations: 338.4 kB / 0.5147 GB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/0.3964, allocations: 0.74 MB / 0.5154 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.4076, allocations: 15.89 MB / 0.5309 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.4083, allocations: 27.98 kB / 0.531 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4085, allocations: 33 kB / 0.531 GB, free: 4.098 MB / 382.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.0004815/0.409, allocations: 231.5 kB / 0.5312 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.4091, allocations: 53.92 kB / 0.5313 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.4123, allocations: 1.388 MB / 0.5326 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4124, allocations: 11.31 kB / 0.5326 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4124, allocations: 1.781 kB / 0.5326 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4124, allocations: 5.578 kB / 0.5326 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/0.4175, allocations: 2.549 MB / 0.5351 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.4176, allocations: 11.19 kB / 0.5351 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005243/0.4228, allocations: 0.6838 MB / 0.5358 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.4254, allocations: 489.8 kB / 0.5363 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.4256, allocations: 32.03 kB / 0.5363 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/0.4411, allocations: 16.14 MB / 0.5521 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4411, allocations: 7.094 kB / 0.5521 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.4455, allocations: 1.973 MB / 0.554 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.4457, allocations: 134.5 kB / 0.5541 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.4459, allocations: 32.75 kB / 0.5542 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.4465, allocations: 34.73 kB / 0.5542 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/0.4469, allocations: 123.1 kB / 0.5543 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/0.447, allocations: 40.61 kB / 0.5544 GB, free: 2.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.4472, allocations: 161.6 kB / 0.5545 GB, free: 1.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4472, allocations: 0 / 0.5545 GB, free: 1.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001303/0.4485, allocations: 261.6 kB / 0.5548 GB, free: 1.941 MB / 398.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.004508/0.453, allocations: 2.534 MB / 0.5572 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.4605, allocations: 2.005 MB / 0.5592 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.4606, allocations: 1.75 kB / 0.5592 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006417/0.467, allocations: 1.623 MB / 0.5608 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.4684, allocations: 181.5 kB / 0.561 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.4805, allocations: 6.405 MB / 0.5672 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.4814, allocations: 0.9327 MB / 0.5681 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005728/0.4819, allocations: 89.11 kB / 0.5682 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.4824, allocations: 239.4 kB / 0.5684 GB, free: 7.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4824, allocations: 0 / 0.5684 GB, free: 7.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05899/0.5414, allocations: 19.02 MB / 0.587 GB, free: 4.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.81, allocations: 14.44 kB / 0.587 GB, free: 4.906 MB / 430.1 MB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.869177218992263] Failed to read output from testmodel.py, exit status != 0: 13.920343842008151 13.941659771 13.808461079 Calling exit ...