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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.09946/0.09946, allocations: 22.92 MB / 332.5 MB, free: 2.645 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 68.12 kB / 466.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1244, allocations: 59.27 MB / 0.5137 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005714/0.1301, allocations: 4.282 MB / 0.5179 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1328, allocations: 1.356 MB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.1331, allocations: 4 kB / 0.5192 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.1333, allocations: 87.06 kB / 0.5193 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.1338, allocations: 241.9 kB / 0.5195 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.1345, allocations: 303.5 kB / 0.5198 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.1357, allocations: 1.169 MB / 0.5209 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.1364, allocations: 405 kB / 0.5213 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.1371, allocations: 438.8 kB / 0.5217 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.1377, allocations: 442.4 kB / 0.5222 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1379, allocations: 96 kB / 0.5223 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.138, allocations: 100 kB / 0.5224 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.1383, allocations: 211.4 kB / 0.5226 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.1388, allocations: 450.2 kB / 0.523 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.14, allocations: 1.035 MB / 0.524 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.14, allocations: 4 kB / 0.524 GB, free: 3.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.14, allocations: 0 / 0.524 GB, free: 3.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.14, allocations: 0 / 0.524 GB, free: 3.391 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.002277/0.1423, allocations: 1.056 MB / 0.525 GB, free: 2.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1423, allocations: 8.625 kB / 0.525 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.423e-05/0.1424, allocations: 30.12 kB / 0.5251 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.1426, allocations: 135.7 kB / 0.5252 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1427, allocations: 84.45 kB / 0.5253 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.143, allocations: 247.7 kB / 0.5255 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.1431, allocations: 70 kB / 0.5256 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1432, allocations: 84 kB / 0.5257 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1446, allocations: 0.7374 MB / 0.5264 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1446, allocations: 0 / 0.5264 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/0.1447, allocations: 36 kB / 0.5264 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.1447, allocations: 20 kB / 0.5264 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.146, allocations: 0.7183 MB / 0.5271 GB, free: 76 kB / 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.004244/0.1503, allocations: 2.419 MB / 0.5295 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.1521, allocations: 0.8316 MB / 0.5303 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.1527, allocations: 299.8 kB / 0.5306 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.1528, allocations: 16.98 kB / 0.5306 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1528, allocations: 43.5 kB / 0.5307 GB, free: 12.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.996e-06/0.1528, allocations: 0 / 0.5307 GB, free: 12.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=114): time 0.009863/0.1627, allocations: 3.41 MB / 0.534 GB, free: 8.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1627, allocations: 64.41 kB / 0.534 GB, free: 8.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.163, allocations: 218.9 kB / 0.5343 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/0.1631, allocations: 41.7 kB / 0.5343 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.1633, allocations: 257.5 kB / 0.5345 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.1636, allocations: 416.4 kB / 0.5349 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.1639, allocations: 146.7 kB / 0.5351 GB, free: 7.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1641, allocations: 370.8 kB / 0.5354 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.1647, allocations: 301.9 kB / 0.5357 GB, free: 6.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.1653, allocations: 395.1 kB / 0.5361 GB, free: 6.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.1772, allocations: 2.317 MB / 0.5384 GB, free: 4.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.616e-05/0.1773, allocations: 4 kB / 0.5384 GB, free: 4.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003/0.1803, allocations: 1.156 MB / 0.5395 GB, free: 3.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1803, allocations: 7.938 kB / 0.5395 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1803, allocations: 0 / 0.5395 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.1819, allocations: 346.1 kB / 0.5398 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/0.1877, allocations: 0.7375 MB / 0.5406 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.2042, allocations: 15.89 MB / 0.5561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/0.2049, allocations: 32.02 kB / 0.5561 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/0.205, allocations: 28 kB / 0.5561 GB, free: 0.5977 MB / 414.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.0005282/0.2055, allocations: 228.5 kB / 0.5563 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.2056, allocations: 55.67 kB / 0.5564 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.2092, allocations: 1.375 MB / 0.5577 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.2093, allocations: 12.06 kB / 0.5577 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.2093, allocations: 4 kB / 0.5578 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.2093, allocations: 7.984 kB / 0.5578 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007719/0.217, allocations: 2.549 MB / 0.5602 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.217, allocations: 4 kB / 0.5603 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006166/0.2232, allocations: 0.687 MB / 0.5609 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/0.2259, allocations: 486.8 kB / 0.5614 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.2261, allocations: 43.92 kB / 0.5614 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/0.2433, allocations: 16.13 MB / 0.5772 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.2433, allocations: 11.94 kB / 0.5772 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.2476, allocations: 1.955 MB / 0.5791 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.2478, allocations: 132.8 kB / 0.5792 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.2479, allocations: 31.98 kB / 0.5793 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.2484, allocations: 35.98 kB / 0.5793 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.2487, allocations: 124.6 kB / 0.5794 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/0.2488, allocations: 36 kB / 0.5794 GB, free: 6.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.249, allocations: 167.1 kB / 0.5796 GB, free: 6.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.249, allocations: 0 / 0.5796 GB, free: 6.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001124/0.2501, allocations: 260 kB / 0.5799 GB, free: 6.535 MB / 446.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.004433/0.2545, allocations: 2.531 MB / 0.5823 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007602/0.2621, allocations: 1.94 MB / 0.5842 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.2622, allocations: 4 kB / 0.5842 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006651/0.2688, allocations: 1.607 MB / 0.5858 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.27, allocations: 185.7 kB / 0.586 GB, free: 40 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2405/0.5105, allocations: 6.385 MB / 0.5922 GB, free: 65.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.5111, allocations: 0.9303 MB / 0.5931 GB, free: 65.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006299/0.5117, allocations: 87.03 kB / 0.5932 GB, free: 65.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.5121, allocations: 239.9 kB / 0.5934 GB, free: 65.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5121, allocations: 1.969 kB / 0.5934 GB, free: 65.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05802/0.5701, allocations: 19.18 MB / 0.6122 GB, free: 58.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.37, allocations: 8.656 kB / 0.6122 GB, free: 58.62 MB / 446.1 MB " [Timeout remaining time 645] (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 --stepSize=0.8 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.931265936989803] Failed to read output from testmodel.py, exit status != 0: 14.540204527962487 14.556376397 14.412856603 Calling exit ...