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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009945/0.0009948, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.218/0.218, allocations: 22.36 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8 kB / 382.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.302, allocations: 55.98 MB / 438 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.002943/0.305, allocations: 3.656 MB / 441.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3071, allocations: 1.289 MB / 443 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.3074, allocations: 3 kB / 443 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3075, allocations: 62.95 kB / 443 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.308, allocations: 215.8 kB / 443.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.3085, allocations: 192.2 kB / 443.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007756/0.3092, allocations: 1.051 MB / 444.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.3097, allocations: 378.9 kB / 444.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.31, allocations: 356.5 kB / 445.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.3104, allocations: 395.2 kB / 445.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/0.3105, allocations: 44.03 kB / 445.6 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.572e-05/0.3106, allocations: 45.72 kB / 445.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3107, allocations: 147 kB / 445.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3108, allocations: 176.4 kB / 446 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.3113, allocations: 0.7487 MB / 446.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3113, allocations: 0 / 446.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3113, allocations: 4 kB / 446.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3113, allocations: 0 / 446.7 MB, free: 34.13 MB / 350.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.001621/0.3129, allocations: 0.9065 MB / 447.7 MB, free: 33.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.313, allocations: 12.59 kB / 447.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.3131, allocations: 139.8 kB / 447.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3132, allocations: 80.5 kB / 447.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3134, allocations: 241.6 kB / 448.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.3135, allocations: 80.16 kB / 448.2 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/0.3136, allocations: 83.69 kB / 448.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.3147, allocations: 0.7202 MB / 449 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3147, allocations: 7.219 kB / 449 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.3148, allocations: 33.5 kB / 449 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3148, allocations: 21.41 kB / 449.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3159, allocations: 0.7191 MB / 449.8 MB, free: 32.49 MB / 350.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.00332/0.3193, allocations: 2.41 MB / 452.2 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3209, allocations: 0.8806 MB / 453.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.3214, allocations: 330.6 kB / 453.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/0.3215, allocations: 15.66 kB / 453.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3215, allocations: 43.53 kB / 453.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.605e-06/0.3215, allocations: 0 / 453.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.00825/0.3298, allocations: 3.442 MB / 456.9 MB, free: 28.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3298, allocations: 64.16 kB / 457 MB, free: 28.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.33, allocations: 212.4 kB / 457.2 MB, free: 28.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.3301, allocations: 45.98 kB / 457.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3302, allocations: 253.1 kB / 457.5 MB, free: 28.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.3304, allocations: 392.5 kB / 457.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3305, allocations: 20 kB / 457.9 MB, free: 27.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.3306, allocations: 357.8 kB / 458.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.3311, allocations: 302 kB / 458.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.3317, allocations: 392.2 kB / 458.9 MB, free: 27.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.3324, allocations: 361.2 kB / 459.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3324, allocations: 1.312 kB / 459.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00261/0.335, allocations: 1.158 MB / 460.4 MB, free: 26.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.335, allocations: 5.062 kB / 460.4 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3351, allocations: 4.938 kB / 460.4 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.3366, allocations: 341.8 kB / 460.7 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/0.3418, allocations: 0.7467 MB / 461.5 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.3534, allocations: 14.77 MB / 476.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.3543, allocations: 50.14 kB / 476.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.3545, allocations: 33.12 kB / 476.3 MB, free: 12.06 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real AHU.T:VARIABLE(min = max(0.0, 0.0) start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" 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 (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005999/0.3551, allocations: 246.6 kB / 476.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.3553, allocations: 48.69 kB / 476.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.3588, allocations: 1.396 MB / 478 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3588, allocations: 11.34 kB / 478 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.3589, allocations: 1.984 kB / 478 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.3589, allocations: 9.484 kB / 478 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005016/0.3639, allocations: 2.536 MB / 480.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.364, allocations: 7.812 kB / 480.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004554/0.3685, allocations: 0.6895 MB / 481.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.371, allocations: 0.5086 MB / 481.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.3712, allocations: 31.81 kB / 481.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.3829, allocations: 14.95 MB / 496.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.383, allocations: 11.53 kB / 496.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/0.3875, allocations: 1.957 MB / 498.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.3877, allocations: 133.8 kB / 498.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.3879, allocations: 31.27 kB / 498.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.3886, allocations: 55.22 kB / 498.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.389, allocations: 123.5 kB / 499.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/0.3891, allocations: 36.19 kB / 499.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3893, allocations: 161 kB / 499.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3893, allocations: 1.188 kB / 499.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001587/0.3909, allocations: 259.3 kB / 499.5 MB, free: 9.668 MB / 366.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 (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005114/0.396, allocations: 2.528 MB / 0.4903 GB, free: 7.996 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.007491/0.4035, allocations: 1.991 MB / 0.4922 GB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4036, allocations: 0 / 0.4922 GB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005802/0.4094, allocations: 1.625 MB / 0.4938 GB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.4106, allocations: 171.8 kB / 0.494 GB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/0.4194, allocations: 4.314 MB / 0.4982 GB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.42, allocations: 0.925 MB / 0.4991 GB, free: 344 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006636/0.4207, allocations: 85.12 kB / 0.4992 GB, free: 260 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.4211, allocations: 247.3 kB / 0.4994 GB, free: 12 kB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4211, allocations: 0 / 0.4994 GB, free: 12 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.4542, allocations: 17.22 MB / 0.5162 GB, free: 15.03 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.4544, allocations: 190.8 kB / 0.5164 GB, free: 14.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.754, allocations: 4 kB / 0.5164 GB, free: 14.79 MB / 398.1 MB (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/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_AHU_001_fmu --startTime=0 --stopTime=8000 --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) Environment - environmentSimulation: