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.001265/0.001265, allocations: 103 kB / 16.45 MB, free: 6.457 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.001245/0.001245, allocations: 199.6 kB / 19.41 MB, free: 3.645 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.34/1.34, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.0983/0.0983, allocations: 22.7 MB / 325.4 MB, free: 3.555 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.001843/0.001843, allocations: 59.91 kB / 457.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.104, allocations: 58.03 MB / 0.5031 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005503/0.1095, allocations: 4.258 MB / 0.5073 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.1117, allocations: 1.341 MB / 0.5086 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1119, allocations: 4 kB / 0.5086 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1121, allocations: 91 kB / 0.5087 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.1125, allocations: 237.9 kB / 0.5089 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.113, allocations: 303.5 kB / 0.5092 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1141, allocations: 1.162 MB / 0.5103 GB, free: 220 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.182/0.2961, allocations: 407.4 kB / 0.5107 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.2968, allocations: 431.2 kB / 0.5111 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.2973, allocations: 445.3 kB / 0.5116 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.2974, allocations: 99.75 kB / 0.5117 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.2975, allocations: 99.19 kB / 0.5118 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2976, allocations: 209.1 kB / 0.512 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.298, allocations: 455.9 kB / 0.5124 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.2987, allocations: 1.03 MB / 0.5134 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2987, allocations: 5.438 kB / 0.5134 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2987, allocations: 0 / 0.5134 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.2987, allocations: 0 / 0.5134 GB, free: 10.09 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.001812/0.3005, allocations: 1.044 MB / 0.5144 GB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3005, allocations: 13.88 kB / 0.5144 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.3007, allocations: 134.9 kB / 0.5146 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3008, allocations: 86.66 kB / 0.5146 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.3009, allocations: 254.1 kB / 0.5149 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.301, allocations: 68.75 kB / 0.515 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3011, allocations: 91.36 kB / 0.515 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.3022, allocations: 0.7327 MB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.3022, allocations: 0 / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.3022, allocations: 36.91 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.3023, allocations: 22.91 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3034, allocations: 0.7245 MB / 0.5165 GB, free: 9.133 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.003162/0.3065, allocations: 2.399 MB / 0.5189 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.3081, allocations: 0.8333 MB / 0.5197 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.3086, allocations: 304.8 kB / 0.52 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.3086, allocations: 15 kB / 0.52 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3087, allocations: 44.44 kB / 0.52 GB, free: 7.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.184e-06/0.3087, allocations: 0 / 0.52 GB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008094/0.3168, allocations: 3.412 MB / 0.5234 GB, free: 6.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3168, allocations: 70.03 kB / 0.5234 GB, free: 6.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.317, allocations: 204.6 kB / 0.5236 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.317, allocations: 45.67 kB / 0.5237 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3171, allocations: 265.6 kB / 0.5239 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.3173, allocations: 408.3 kB / 0.5243 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.3176, allocations: 155.7 kB / 0.5245 GB, free: 5.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.3176, allocations: 361.1 kB / 0.5248 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3181, allocations: 302 kB / 0.5251 GB, free: 4.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.3187, allocations: 394.6 kB / 0.5255 GB, free: 4.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.3293, allocations: 2.315 MB / 0.5277 GB, free: 3.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3293, allocations: 1 kB / 0.5277 GB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002593/0.3319, allocations: 1.164 MB / 0.5289 GB, free: 3.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3319, allocations: 5.281 kB / 0.5289 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3319, allocations: 1.469 kB / 0.5289 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.3333, allocations: 331.4 kB / 0.5292 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005473/0.3388, allocations: 0.7402 MB / 0.5299 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.3529, allocations: 15.89 MB / 0.5454 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.3537, allocations: 28.78 kB / 0.5455 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.3538, allocations: 32.81 kB / 0.5455 GB, free: 3.863 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.0005265/0.3543, allocations: 227.4 kB / 0.5457 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3544, allocations: 52.83 kB / 0.5457 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.3577, allocations: 1.379 MB / 0.5471 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3577, allocations: 11.12 kB / 0.5471 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3577, allocations: 6.375 kB / 0.5471 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3578, allocations: 7.875 kB / 0.5471 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.3628, allocations: 2.54 MB / 0.5496 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.3628, allocations: 6.656 kB / 0.5496 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005064/0.3679, allocations: 0.6845 MB / 0.5503 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.3705, allocations: 492.8 kB / 0.5507 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.3707, allocations: 31.22 kB / 0.5508 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/0.3867, allocations: 16.15 MB / 0.5665 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.3867, allocations: 10.94 kB / 0.5666 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.3907, allocations: 1.957 MB / 0.5685 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.3908, allocations: 134.4 kB / 0.5686 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.3909, allocations: 38.17 kB / 0.5686 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.3915, allocations: 29.91 kB / 0.5687 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.3918, allocations: 120.6 kB / 0.5688 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.3918, allocations: 41.2 kB / 0.5688 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.392, allocations: 158.4 kB / 0.569 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.392, allocations: 0 / 0.569 GB, free: 15.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001008/0.393, allocations: 266.7 kB / 0.5692 GB, free: 15.45 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.004064/0.3971, allocations: 2.52 MB / 0.5717 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00698/0.4041, allocations: 1.95 MB / 0.5736 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.4041, allocations: 1.375 kB / 0.5736 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006076/0.4101, allocations: 1.601 MB / 0.5752 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4112, allocations: 186.6 kB / 0.5753 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.4224, allocations: 6.397 MB / 0.5816 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.4231, allocations: 0.925 MB / 0.5825 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005412/0.4237, allocations: 89.11 kB / 0.5826 GB, free: 3.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.424, allocations: 247.3 kB / 0.5828 GB, free: 2.93 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.424, allocations: 4 kB / 0.5828 GB, free: 2.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05934/0.4834, allocations: 19.14 MB / 0.6015 GB, free: 15.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.23, allocations: 7.5 kB / 0.6015 GB, free: 15.95 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.078961073886603] Failed to read output from testmodel.py, exit status != 0: 13.345981482882053 13.359092405 13.057658275 Calling exit ...