Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Air.MAvolume.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.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",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.005316/0.005316, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001277/0.001277, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1988/0.1988, allocations: 22.35 MB / 312.9 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 66.61 kB / 434.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 54.96 MB / 489.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.002087/0.1055, allocations: 1.804 MB / 491.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.1063, allocations: 0.6507 MB / 491.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.1063, allocations: 4 kB / 491.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.68e-05/0.1064, allocations: 15.84 kB / 491.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1065, allocations: 51.55 kB / 492 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.1067, allocations: 51.86 kB / 492 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1068, allocations: 195.7 kB / 492.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.107, allocations: 69.41 kB / 492.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.1071, allocations: 91.7 kB / 492.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1072, allocations: 79.67 kB / 492.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1072, allocations: 12 kB / 492.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.1072, allocations: 16 kB / 492.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.1073, allocations: 31.89 kB / 492.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.1073, allocations: 75.66 kB / 492.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1075, allocations: 135.1 kB / 492.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1075, allocations: 7.984 kB / 492.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1075, allocations: 4 kB / 492.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1075, allocations: 0 / 492.7 MB, free: 0.5352 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005462/0.108, allocations: 441.2 kB / 493.1 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1081, allocations: 8.031 kB / 493.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1081, allocations: 58.67 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1082, allocations: 20.75 kB / 493.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1083, allocations: 180.2 kB / 493.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1083, allocations: 16.31 kB / 493.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1084, allocations: 24.03 kB / 493.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1086, allocations: 149.4 kB / 493.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1086, allocations: 0 / 493.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1087, allocations: 8 kB / 493.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1087, allocations: 4 kB / 493.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1089, allocations: 127.7 kB / 493.7 MB, free: 15.42 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009/0.1098, allocations: 0.5754 MB / 494.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.1102, allocations: 189.4 kB / 494.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.1103, allocations: 64.83 kB / 494.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1103, allocations: 0 / 494.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1104, allocations: 42.5 kB / 494.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 9.52e-07/0.1104, allocations: 0 / 494.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.004364/0.1147, allocations: 1.432 MB / 496 MB, free: 12.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.1148, allocations: 55.41 kB / 496.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.1149, allocations: 109.8 kB / 496.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1149, allocations: 29.7 kB / 496.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.115, allocations: 108.8 kB / 496.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.115, allocations: 122.3 kB / 496.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.1151, allocations: 57.7 kB / 496.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.1152, allocations: 318.8 kB / 496.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1154, allocations: 87.83 kB / 496.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1156, allocations: 127.4 kB / 497 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/0.1198, allocations: 0.8299 MB / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1199, allocations: 0 / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001167/0.121, allocations: 418.5 kB / 498.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1211, allocations: 4 kB / 498.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1211, allocations: 8.094 kB / 498.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.1223, allocations: 145.5 kB / 498.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.1239, allocations: 159.8 kB / 498.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/0.1288, allocations: 4.702 MB / 0.4915 GB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.129, allocations: 12.02 kB / 0.4915 GB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.129, allocations: 8.062 kB / 0.4915 GB, free: 5.172 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = 0.0 start = pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real T:VARIABLE(min = 0.0 start = 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: 4 * 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 (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002807/0.1293, allocations: 147.6 kB / 0.4916 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.1294, allocations: 15.81 kB / 0.4917 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.1308, allocations: 469.5 kB / 0.4921 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1308, allocations: 7.938 kB / 0.4921 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1308, allocations: 4 kB / 0.4921 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1308, allocations: 7.984 kB / 0.4921 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.1327, allocations: 0.8371 MB / 0.4929 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1327, allocations: 8.047 kB / 0.4929 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.1336, allocations: 131.8 kB / 0.4931 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.1355, allocations: 301.2 kB / 0.4934 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.1355, allocations: 7.984 kB / 0.4934 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/0.1406, allocations: 4.932 MB / 0.4982 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1407, allocations: 0 / 0.4982 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1423, allocations: 0.6431 MB / 0.4988 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1424, allocations: 89.05 kB / 0.4989 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1424, allocations: 8 kB / 0.4989 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.1426, allocations: 8 kB / 0.4989 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.1427, allocations: 35.89 kB / 0.4989 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.1427, allocations: 8 kB / 0.499 GB, free: 12.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.272e-05/0.1428, allocations: 91.27 kB / 0.499 GB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1428, allocations: 0 / 0.499 GB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000541/0.1434, allocations: 72 kB / 0.4991 GB, free: 12.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (Ma,p,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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001971/0.1454, allocations: 1.188 MB / 0.5003 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.1472, allocations: 0.5989 MB / 0.5009 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1472, allocations: 0 / 0.5009 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.1487, allocations: 0.5167 MB / 0.5014 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1491, allocations: 42.58 kB / 0.5014 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.153, allocations: 2.605 MB / 0.5039 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1534, allocations: 0.7291 MB / 0.5047 GB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1535, allocations: 21.95 kB / 0.5047 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.1536, allocations: 55.41 kB / 0.5047 GB, free: 6.812 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1536, allocations: 0 / 0.5047 GB, free: 6.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1836, allocations: 5.584 MB / 0.5102 GB, free: 1.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.43, allocations: 5.938 kB / 0.5102 GB, free: 1.328 MB / 382.1 MB (rm -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Air.MAvolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Air_MAvolume_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Air_MAvolume.fmu > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1)