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.0008732/0.0008732, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008613/0.0008613, allocations: 165.6 kB / 23.23 MB, free: 1.336 MB / 18.57 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 0.8927/0.8927, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.06293/0.06293, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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="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 1.333e-06/1.333e-06, allocations: 0 / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.054e-05, allocations: 2.281 kB / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003083/0.003103, allocations: 3.801 MB / 418.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.004745, allocations: 1.312 MB / 420.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.004947, allocations: 7.781 kB / 420.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.005075, allocations: 86.28 kB / 420.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.005413, allocations: 253.8 kB / 420.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.005881, allocations: 312.3 kB / 420.8 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.006598, allocations: 1.2 MB / 422 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.00707, allocations: 405.6 kB / 422.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.007485, allocations: 411.8 kB / 422.8 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.007864, allocations: 348.3 kB / 423.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.007975, allocations: 99.16 kB / 423.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.008092, allocations: 103.7 kB / 423.4 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.008199, allocations: 211.5 kB / 423.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.008445, allocations: 338.6 kB / 423.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.009259, allocations: 1.078 MB / 425 MB, free: 6.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.009264, allocations: 5.344 kB / 425 MB, free: 6.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.009266, allocations: 0.5625 kB / 425 MB, free: 6.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.009281, allocations: 0 / 425 MB, free: 6.984 MB / 330.7 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.0013/0.01058, allocations: 0.9642 MB / 426 MB, free: 6.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.01062, allocations: 10.7 kB / 426 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.01073, allocations: 136.5 kB / 426.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.01083, allocations: 88.83 kB / 426.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.01097, allocations: 190.1 kB / 426.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.01101, allocations: 66.05 kB / 426.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.01111, allocations: 89.97 kB / 426.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.01198, allocations: 0.7561 MB / 427.3 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.012, allocations: 3.984 kB / 427.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.01205, allocations: 35.75 kB / 427.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.01206, allocations: 24.72 kB / 427.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.01292, allocations: 0.714 MB / 428.1 MB, free: 5.379 MB / 330.7 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.002539/0.01545, allocations: 1.78 MB / 429.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.01661, allocations: 0.8289 MB / 430.7 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.01696, allocations: 302.9 kB / 431 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.01701, allocations: 12.58 kB / 431 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.01703, allocations: 47.84 kB / 431 MB, free: 3.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.935e-06/0.01704, allocations: 1.062 kB / 431 MB, free: 3.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.005566/0.0226, allocations: 3.112 MB / 434.1 MB, free: 2.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.02264, allocations: 72.25 kB / 434.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.02281, allocations: 211.7 kB / 434.4 MB, free: 2.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.02285, allocations: 46.64 kB / 434.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.02294, allocations: 258.7 kB / 434.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.0231, allocations: 406.9 kB / 435.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.02327, allocations: 151.3 kB / 435.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.02332, allocations: 359.1 kB / 435.6 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.02367, allocations: 304.4 kB / 435.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.02406, allocations: 393.4 kB / 436.3 MB, free: 1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.02944, allocations: 2.311 MB / 438.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.02944, allocations: 4 kB / 438.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001759/0.0312, allocations: 1.161 MB / 439.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.03122, allocations: 5.875 kB / 439.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.03123, allocations: 3.812 kB / 439.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008125/0.03205, allocations: 329.6 kB / 440.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.0347, allocations: 0.749 MB / 440.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/0.04288, allocations: 14.79 MB / 455.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.04345, allocations: 28.02 kB / 455.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.04348, allocations: 28 kB / 455.7 MB, free: 14.73 MB / 362.7 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.0004095/0.04389, allocations: 243.4 kB / 455.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.04397, allocations: 51.67 kB / 456 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.04582, allocations: 1.383 MB / 457.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.04582, allocations: 12 kB / 457.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.04583, allocations: 0 / 457.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.04583, allocations: 3.984 kB / 457.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.04868, allocations: 2.377 MB / 459.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.04869, allocations: 12.16 kB / 459.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/0.05086, allocations: 0.6828 MB / 460.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.05205, allocations: 490.8 kB / 460.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/0.05212, allocations: 31.98 kB / 461 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009028/0.06115, allocations: 15.03 MB / 476 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.06116, allocations: 12.06 kB / 476 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.06397, allocations: 1.943 MB / 477.9 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.0641, allocations: 51.73 kB / 478 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.06417, allocations: 39.92 kB / 478 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.0645, allocations: 35.98 kB / 478.1 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.06473, allocations: 124.6 kB / 478.2 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.06478, allocations: 39.98 kB / 478.2 MB, free: 6.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.06489, allocations: 159.2 kB / 478.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06489, allocations: 0 / 478.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009574/0.06585, allocations: 260 kB / 478.6 MB, free: 6.309 MB / 378.7 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.002666/0.06852, allocations: 2.52 MB / 481.2 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003964/0.07248, allocations: 1.936 MB / 483.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.07249, allocations: 0 / 483.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.07587, allocations: 1.599 MB / 484.7 MB, free: 20 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.07671, allocations: 177.8 kB / 484.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/0.08431, allocations: 6.357 MB / 491.2 MB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.08458, allocations: 340.1 kB / 491.6 MB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003627/0.08494, allocations: 89.11 kB / 491.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.0852, allocations: 240.4 kB / 491.9 MB, free: 8.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0852, allocations: 7.938 kB / 491.9 MB, free: 8.484 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.1276, allocations: 20.37 MB / 0.5002 GB, free: 4.406 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/8.792, allocations: 0 / 0.5002 GB, free: 4.406 MB / 410.7 MB " [Timeout remaining time 651] (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: 10.88410457316786] Failed to read output from testmodel.py, exit status != 0: 8.893606361933053 8.902994147 8.891771469 Calling exit ...