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.0008152/0.0008152, allocations: 76.45 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.001036/0.001036, allocations: 165.2 kB / 23.22 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.9066/0.9066, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.06275/0.06275, allocations: 18.13 MB / 278.1 MB, free: 11.56 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 2.365e-06/2.365e-06, allocations: 0 / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.969e-05, allocations: 2.281 kB / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004274/0.004294, allocations: 3.808 MB / 418.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.006631, allocations: 1.307 MB / 420.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.006919, allocations: 10.69 kB / 420.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.007088, allocations: 85.39 kB / 420.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.007595, allocations: 249.4 kB / 420.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.00828, allocations: 312.3 kB / 420.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.009298, allocations: 1.202 MB / 422 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005983/0.009896, allocations: 405.5 kB / 422.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.01036, allocations: 415.2 kB / 422.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.01088, allocations: 351.9 kB / 423.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.01103, allocations: 100.3 kB / 423.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.01119, allocations: 99 kB / 423.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.01133, allocations: 212.2 kB / 423.6 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.01167, allocations: 338.1 kB / 423.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.01274, allocations: 1.071 MB / 425 MB, free: 7.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01275, allocations: 4.547 kB / 425 MB, free: 7.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01275, allocations: 0 / 425 MB, free: 7.012 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.01276, allocations: 0 / 425 MB, free: 7.012 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.001731/0.01449, allocations: 0.9651 MB / 426 MB, free: 6.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.01453, allocations: 13.64 kB / 426 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.01469, allocations: 141.6 kB / 426.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.01483, allocations: 85.53 kB / 426.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.01499, allocations: 192.7 kB / 426.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.01505, allocations: 70.78 kB / 426.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.01518, allocations: 89.89 kB / 426.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.01652, allocations: 0.7603 MB / 427.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.01654, allocations: 0 / 427.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.01662, allocations: 36.81 kB / 427.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.01664, allocations: 24.56 kB / 427.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.01799, allocations: 0.7171 MB / 428.1 MB, free: 5.391 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.002806/0.02079, allocations: 1.771 MB / 429.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.02192, allocations: 0.8253 MB / 430.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.02226, allocations: 305.5 kB / 431 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.02231, allocations: 11.84 kB / 431 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.02233, allocations: 50.67 kB / 431 MB, free: 3.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=103): time 2.455e-06/0.02233, allocations: 1.156 kB / 431 MB, free: 3.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.005162/0.02749, allocations: 3.112 MB / 434.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.02753, allocations: 67.31 kB / 434.2 MB, free: 2.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.02773, allocations: 212.5 kB / 434.4 MB, free: 2.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.02778, allocations: 49.64 kB / 434.5 MB, free: 2.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.02787, allocations: 255.3 kB / 434.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.02806, allocations: 408.7 kB / 435.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.02823, allocations: 148.6 kB / 435.3 MB, free: 1.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.02829, allocations: 358.2 kB / 435.6 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.02866, allocations: 302.8 kB / 435.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.02905, allocations: 392.3 kB / 436.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005298/0.03435, allocations: 2.314 MB / 438.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.03435, allocations: 0 / 438.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001638/0.03599, allocations: 1.161 MB / 439.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.03601, allocations: 10.97 kB / 439.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.03602, allocations: 0 / 439.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/0.03676, allocations: 337.6 kB / 440.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.03918, allocations: 0.7422 MB / 440.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/0.04702, allocations: 14.8 MB / 455.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.04734, allocations: 28.03 kB / 455.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.04738, allocations: 24 kB / 455.7 MB, free: 14.68 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.0003176/0.0477, allocations: 233.4 kB / 455.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.04777, allocations: 55.67 kB / 456 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.04979, allocations: 1.379 MB / 457.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.04979, allocations: 12 kB / 457.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.04979, allocations: 0 / 457.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.0498, allocations: 7.969 kB / 457.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.0525, allocations: 2.377 MB / 459.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.0525, allocations: 8 kB / 459.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/0.05465, allocations: 0.6907 MB / 460.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.05577, allocations: 482.8 kB / 460.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.05582, allocations: 32 kB / 460.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007694/0.06351, allocations: 15.04 MB / 476 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.06352, allocations: 8 kB / 476 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.0657, allocations: 1.944 MB / 477.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.06576, allocations: 63.66 kB / 478 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.06604, allocations: 32 kB / 478 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.06632, allocations: 31.98 kB / 478.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.06652, allocations: 132.5 kB / 478.2 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.06656, allocations: 36 kB / 478.2 MB, free: 6.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.06667, allocations: 163.2 kB / 478.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06667, allocations: 0 / 478.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000867/0.06753, allocations: 260 kB / 478.6 MB, free: 6.258 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.002525/0.07006, allocations: 2.512 MB / 481.2 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.07361, allocations: 1.94 MB / 483.1 MB, free: 1.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.07361, allocations: 4.25 kB / 483.1 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.07638, allocations: 1.599 MB / 484.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.07705, allocations: 176.4 kB / 484.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.08379, allocations: 6.364 MB / 491.2 MB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.08401, allocations: 336.1 kB / 491.6 MB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.0843, allocations: 93.11 kB / 491.6 MB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.08456, allocations: 240.4 kB / 491.9 MB, free: 8.441 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.08456, allocations: 3.938 kB / 491.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.118, allocations: 20.37 MB / 0.5003 GB, free: 4.355 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.864/8.982, allocations: 0 / 0.5003 GB, free: 4.355 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 & 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: 11.49117938708514] Failed to read output from testmodel.py, exit status != 0: 9.085697438567877 9.095860521 9.081276393 Calling exit ...