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.001055/0.001055, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.00115, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1823/0.1823, allocations: 22.36 MB / 312.4 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 59.91 kB / 378.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2838, allocations: 54.94 MB / 433.3 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.002212/0.286, allocations: 1.863 MB / 435.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006866/0.2867, allocations: 0.6542 MB / 435.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.2868, allocations: 0 / 435.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.2868, allocations: 21.72 kB / 435.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.287, allocations: 39.89 kB / 435.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.2871, allocations: 35.62 kB / 435.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2873, allocations: 198.2 kB / 436.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2874, allocations: 75.53 kB / 436.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2875, allocations: 83.05 kB / 436.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2877, allocations: 85.61 kB / 436.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.2877, allocations: 11.5 kB / 436.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.2877, allocations: 10.88 kB / 436.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.2877, allocations: 39.47 kB / 436.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.2878, allocations: 78.61 kB / 436.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2879, allocations: 128.1 kB / 436.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.288, allocations: 0 / 436.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.288, allocations: 0 / 436.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.288, allocations: 7.25 kB / 436.6 MB, free: 36.67 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.00055/0.2885, allocations: 443.5 kB / 437 MB, free: 36.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2886, allocations: 13.91 kB / 437 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.2886, allocations: 45.12 kB / 437.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.2887, allocations: 17.66 kB / 437.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2888, allocations: 190.5 kB / 437.3 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2888, allocations: 15.88 kB / 437.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2888, allocations: 18.72 kB / 437.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2891, allocations: 152.7 kB / 437.5 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2891, allocations: 6.719 kB / 437.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2891, allocations: 8 kB / 437.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2891, allocations: 5.25 kB / 437.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.2893, allocations: 125.1 kB / 437.6 MB, free: 35.85 MB / 350.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.0007512/0.29, allocations: 0.5631 MB / 438.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.2904, allocations: 190.9 kB / 438.4 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.2905, allocations: 63.7 kB / 438.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.2905, allocations: 7.234 kB / 438.4 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2906, allocations: 34.56 kB / 438.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2906, allocations: 0 / 438.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004063/0.2946, allocations: 1.435 MB / 439.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2947, allocations: 57.75 kB / 440 MB, free: 34.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.2947, allocations: 109.9 kB / 440.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2948, allocations: 32.58 kB / 440.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2948, allocations: 114.2 kB / 440.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.2949, allocations: 115.4 kB / 440.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.2949, allocations: 50.58 kB / 440.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.295, allocations: 327.8 kB / 440.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2951, allocations: 85.45 kB / 440.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2952, allocations: 125 kB / 440.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/0.2992, allocations: 0.8371 MB / 441.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2992, allocations: 0 / 441.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009929/0.3002, allocations: 416.2 kB / 442.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3003, allocations: 6.938 kB / 442.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3003, allocations: 0 / 442.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/0.3011, allocations: 154.4 kB / 442.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.3022, allocations: 149.1 kB / 442.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/0.3054, allocations: 4.708 MB / 447.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.3056, allocations: 15.09 kB / 447.2 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.3057, allocations: 13.48 kB / 447.2 MB, free: 28.59 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real T:VARIABLE(min = max(0.0, max(0.0, 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.0002908/0.306, allocations: 151.8 kB / 447.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.306, allocations: 10.78 kB / 447.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.3073, allocations: 478.6 kB / 447.8 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3073, allocations: 7.438 kB / 447.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3073, allocations: 0 / 447.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3073, allocations: 6.469 kB / 447.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.3089, allocations: 0.8446 MB / 448.7 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3089, allocations: 0 / 448.7 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009148/0.3098, allocations: 134.8 kB / 448.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.3115, allocations: 297 kB / 449.1 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3116, allocations: 14.09 kB / 449.1 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.315, allocations: 4.925 MB / 454 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.315, allocations: 6.562 kB / 454 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3163, allocations: 0.6398 MB / 454.7 MB, free: 22.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.3164, allocations: 97.45 kB / 454.8 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3164, allocations: 6.625 kB / 454.8 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3166, allocations: 10.28 kB / 454.8 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.3167, allocations: 32.72 kB / 454.8 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3167, allocations: 11.16 kB / 454.8 MB, free: 22.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.101e-05/0.3167, allocations: 89.88 kB / 454.9 MB, free: 22.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 0 / 454.9 MB, free: 22.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.3172, allocations: 75.34 kB / 455 MB, free: 22.37 MB / 350.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.001468/0.3186, allocations: 1.191 MB / 456.2 MB, free: 21.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3203, allocations: 0.6067 MB / 456.8 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3203, allocations: 7.938 kB / 456.8 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.3217, allocations: 0.5032 MB / 457.3 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.322, allocations: 39.52 kB / 457.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.3254, allocations: 2.663 MB / 460 MB, free: 18.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3255, allocations: 0.7333 MB / 460.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3257, allocations: 27.14 kB / 460.8 MB, free: 18.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.3258, allocations: 48.16 kB / 460.8 MB, free: 18.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3258, allocations: 0 / 460.8 MB, free: 18.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.3478, allocations: 5.411 MB / 466.2 MB, free: 17.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.348, allocations: 212 kB / 466.4 MB, free: 17.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.196, allocations: 0 / 466.4 MB, free: 17.39 MB / 350.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)