Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_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.0009779/0.000978, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005632/0.005632, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1984/0.1984, allocations: 22.35 MB / 313.8 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004482, allocations: 12 kB / 382.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 55.97 MB / 438.7 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002249/0.2541, allocations: 2.944 MB / 441.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2553, allocations: 1.045 MB / 442.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2554, allocations: 0 / 442.7 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.947e-05/0.2555, allocations: 44.55 kB / 442.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.2558, allocations: 141.8 kB / 442.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.2561, allocations: 176.8 kB / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.2565, allocations: 0.7178 MB / 443.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.2568, allocations: 259.7 kB / 444 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.257, allocations: 237.5 kB / 444.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2572, allocations: 275.4 kB / 444.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.2573, allocations: 29.34 kB / 444.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.2574, allocations: 28.91 kB / 444.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.2574, allocations: 100.8 kB / 444.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.2576, allocations: 287.4 kB / 444.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.258, allocations: 0.6367 MB / 445.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.258, allocations: 9.719 kB / 445.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.258, allocations: 3.938 kB / 445.6 MB, free: 34.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.258, allocations: 0 / 445.6 MB, free: 34.97 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001161/0.2592, allocations: 0.6859 MB / 446.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2592, allocations: 15.62 kB / 446.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.509e-05/0.2593, allocations: 100.5 kB / 446.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.2594, allocations: 50.06 kB / 446.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2595, allocations: 219.5 kB / 446.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2595, allocations: 45.22 kB / 446.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.2596, allocations: 60.81 kB / 446.7 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.2603, allocations: 0.4901 MB / 447.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2604, allocations: 0 / 447.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.2604, allocations: 25.59 kB / 447.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2604, allocations: 18.38 kB / 447.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.2611, allocations: 484 kB / 447.8 MB, free: 33.68 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 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.2631, allocations: 1.643 MB / 449.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.2638, allocations: 0.5076 MB / 449.9 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.2641, allocations: 219.9 kB / 450.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.2642, allocations: 12.2 kB / 450.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.2642, allocations: 41.94 kB / 450.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.703e-06/0.2642, allocations: 0 / 450.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005758/0.27, allocations: 2.44 MB / 452.6 MB, free: 31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.27, allocations: 65.16 kB / 452.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2701, allocations: 184 kB / 452.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.2702, allocations: 40.14 kB / 452.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.2703, allocations: 178.7 kB / 453.1 MB, free: 30.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2704, allocations: 266.8 kB / 453.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.2705, allocations: 64.34 kB / 453.4 MB, free: 30.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.2705, allocations: 339 kB / 453.7 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.2708, allocations: 217.7 kB / 453.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.2712, allocations: 269.5 kB / 454.2 MB, free: 29.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008426/0.2796, allocations: 1.684 MB / 455.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2796, allocations: 3.938 kB / 455.9 MB, free: 29.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001733/0.2814, allocations: 0.787 MB / 456.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2814, allocations: 5.375 kB / 456.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2814, allocations: 1.219 kB / 456.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.2825, allocations: 204.5 kB / 456.9 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/0.2864, allocations: 0.5065 MB / 457.4 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/0.2925, allocations: 9.861 MB / 467.2 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.2929, allocations: 51.14 kB / 467.3 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.293, allocations: 22.25 kB / 467.3 MB, free: 18.99 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {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 {(3,4,77.8%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002472/0.2932, allocations: 202.7 kB / 467.5 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.2933, allocations: 33 kB / 467.6 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.2955, allocations: 0.9465 MB / 468.5 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2955, allocations: 7.25 kB / 468.5 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2955, allocations: 2.219 kB / 468.5 MB, free: 18.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2956, allocations: 6.859 kB / 468.5 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.2987, allocations: 1.883 MB / 470.4 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.2987, allocations: 10.16 kB / 470.4 MB, free: 17.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/0.3022, allocations: 470.2 kB / 470.9 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/0.3044, allocations: 355 kB / 471.2 MB, free: 17.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.3045, allocations: 26.34 kB / 471.2 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/0.3109, allocations: 10.06 MB / 481.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.3109, allocations: 6.656 kB / 481.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.3134, allocations: 1.405 MB / 482.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.3135, allocations: 128.7 kB / 482.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.3136, allocations: 28.38 kB / 482.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.3141, allocations: 35.45 kB / 482.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.3143, allocations: 87.23 kB / 483 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.3143, allocations: 24.78 kB / 483 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.922e-05/0.3144, allocations: 145 kB / 483.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3144, allocations: 3.938 kB / 483.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007244/0.3152, allocations: 165.4 kB / 483.3 MB, free: 5.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {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 {(3,4,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002707/0.3179, allocations: 1.965 MB / 485.3 MB, free: 4.59 MB / 350.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.004823/0.3227, allocations: 1.36 MB / 486.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3227, allocations: 3.938 kB / 486.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004167/0.3269, allocations: 1.115 MB / 487.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/0.3278, allocations: 124.7 kB / 487.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.3356, allocations: 5.121 MB / 493 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.336, allocations: 0.8434 MB / 493.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004171/0.3365, allocations: 63.3 kB / 493.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3367, allocations: 157.4 kB / 494.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3367, allocations: 0 / 494.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7545/1.091, allocations: 11.87 MB / 0.4941 GB, free: 7.07 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/1.092, allocations: 214.1 kB / 0.4943 GB, free: 6.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.298, allocations: 0 / 0.4943 GB, free: 6.812 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_001_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_001.fmu > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)