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.001053/0.001053, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 197.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1781/0.1781, allocations: 22.35 MB / 312.7 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 380.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2197, allocations: 54.94 MB / 435.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003449/0.2232, allocations: 4.241 MB / 440.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2245, allocations: 1.339 MB / 441.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2247, allocations: 2.844 kB / 441.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.2248, allocations: 92.47 kB / 441.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.2251, allocations: 232.5 kB / 441.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.2255, allocations: 307.1 kB / 442.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005454/0.226, allocations: 1.159 MB / 443.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.2264, allocations: 483.4 kB / 443.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.2267, allocations: 415.7 kB / 444.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.227, allocations: 450 kB / 444.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.2271, allocations: 101.1 kB / 444.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2273, allocations: 102.9 kB / 444.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2274, allocations: 208.9 kB / 445 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.2276, allocations: 451.6 kB / 445.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.2281, allocations: 1.015 MB / 446.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2281, allocations: 3.422 kB / 446.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2281, allocations: 0 / 446.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2282, allocations: 3.812 kB / 446.4 MB, free: 33.24 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.001652/0.2298, allocations: 1.028 MB / 447.5 MB, free: 32.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.2299, allocations: 11.5 kB / 447.5 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.23, allocations: 144.1 kB / 447.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2301, allocations: 77.12 kB / 447.7 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2302, allocations: 254.3 kB / 447.9 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.2303, allocations: 76.06 kB / 448 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.2304, allocations: 86.66 kB / 448.1 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.2313, allocations: 0.7335 MB / 448.8 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2313, allocations: 3.984 kB / 448.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.2314, allocations: 36.28 kB / 448.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2314, allocations: 19.69 kB / 448.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.2324, allocations: 0.7239 MB / 449.6 MB, free: 31.51 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.002631/0.235, allocations: 2.424 MB / 452 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2365, allocations: 0.8825 MB / 452.9 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.2369, allocations: 331.8 kB / 453.2 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.237, allocations: 21.41 kB / 453.3 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.237, allocations: 42.16 kB / 453.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.034e-06/0.237, allocations: 0 / 453.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.007521/0.2445, allocations: 3.406 MB / 456.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.2446, allocations: 63.25 kB / 456.8 MB, free: 27.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2447, allocations: 210.2 kB / 457 MB, free: 27.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.2448, allocations: 41.86 kB / 457 MB, free: 27.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.2448, allocations: 256.7 kB / 457.3 MB, free: 27.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.245, allocations: 384.3 kB / 457.6 MB, free: 27.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.2452, allocations: 155.9 kB / 457.8 MB, free: 26.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.2453, allocations: 356.3 kB / 458.1 MB, free: 26.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.2457, allocations: 303.6 kB / 458.4 MB, free: 26.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.2462, allocations: 395 kB / 458.8 MB, free: 26.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.2566, allocations: 2.324 MB / 461.1 MB, free: 25.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2567, allocations: 1.188 kB / 461.1 MB, free: 25.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002436/0.2591, allocations: 1.168 MB / 462.3 MB, free: 25.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2591, allocations: 10.42 kB / 462.3 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2591, allocations: 5.25 kB / 462.3 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.2605, allocations: 328.9 kB / 462.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/0.2659, allocations: 0.7386 MB / 463.4 MB, free: 24.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009594/0.2755, allocations: 15.9 MB / 479.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.2761, allocations: 32.47 kB / 479.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.2762, allocations: 30.31 kB / 479.4 MB, free: 9.328 MB / 350.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 = 100000.0 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.0003343/0.2765, allocations: 231.8 kB / 479.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.2766, allocations: 48.22 kB / 479.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.2795, allocations: 1.379 MB / 481 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.2796, allocations: 20.66 kB / 481 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2796, allocations: 3.938 kB / 481 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.2796, allocations: 10.73 kB / 481 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.2836, allocations: 2.547 MB / 483.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.2836, allocations: 8.188 kB / 483.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004719/0.2884, allocations: 0.6803 MB / 484.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.2906, allocations: 491.3 kB / 484.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.2907, allocations: 32.42 kB / 484.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.3024, allocations: 16.15 MB / 0.4892 GB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.3024, allocations: 10.19 kB / 0.4892 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.3062, allocations: 1.957 MB / 0.4911 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3063, allocations: 128.9 kB / 0.4912 GB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.3064, allocations: 32.09 kB / 0.4913 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.307, allocations: 32.28 kB / 0.4913 GB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.3072, allocations: 122.4 kB / 0.4914 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.3073, allocations: 38.3 kB / 0.4915 GB, free: 5.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.3075, allocations: 159.6 kB / 0.4916 GB, free: 5.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3075, allocations: 0 / 0.4916 GB, free: 5.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3086, allocations: 261.2 kB / 0.4919 GB, free: 5.77 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 (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.003959/0.3126, allocations: 2.539 MB / 0.4943 GB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007366/0.3199, allocations: 2.019 MB / 0.4963 GB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3199, allocations: 0 / 0.4963 GB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005771/0.3257, allocations: 1.643 MB / 0.4979 GB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.3267, allocations: 183.6 kB / 0.4981 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.3365, allocations: 6.461 MB / 0.5044 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.337, allocations: 0.925 MB / 0.5053 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005316/0.3375, allocations: 89.11 kB / 0.5054 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.3378, allocations: 243.4 kB / 0.5056 GB, free: 7.777 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3379, allocations: 0 / 0.5056 GB, free: 7.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.237/1.575, allocations: 18.67 MB / 0.5239 GB, free: 5.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.65, allocations: 3.562 kB / 0.5239 GB, free: 5.285 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/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)