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.0008174/0.0008175, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005862/0.005863, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1806/0.1806, allocations: 22.34 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002701, allocations: 12 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2349, allocations: 55.98 MB / 436.6 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001381/0.2363, allocations: 1.51 MB / 438.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006514/0.237, allocations: 0.645 MB / 438.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.237, allocations: 0 / 438.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.237, allocations: 10.22 kB / 438.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2372, allocations: 50.84 kB / 438.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.2373, allocations: 40.77 kB / 438.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2374, allocations: 189.7 kB / 439.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2376, allocations: 63.53 kB / 439.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2377, allocations: 77.16 kB / 439.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2378, allocations: 83.77 kB / 439.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2379, allocations: 15.16 kB / 439.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.2379, allocations: 8.406 kB / 439.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.2379, allocations: 31.92 kB / 439.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.361e-05/0.238, allocations: 103.7 kB / 439.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2382, allocations: 126.9 kB / 439.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2382, allocations: 0 / 439.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2382, allocations: 0 / 439.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.2382, allocations: 3.938 kB / 439.6 MB, free: 36.4 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.0005523/0.2388, allocations: 421.3 kB / 440 MB, free: 36.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2388, allocations: 12.69 kB / 440 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.2389, allocations: 51.41 kB / 440 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2389, allocations: 17.81 kB / 440.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.239, allocations: 178.2 kB / 440.2 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.239, allocations: 14.94 kB / 440.2 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.2391, allocations: 26.78 kB / 440.3 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.2393, allocations: 156 kB / 440.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2393, allocations: 2.438 kB / 440.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2393, allocations: 4 kB / 440.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.2393, allocations: 5.375 kB / 440.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.2395, allocations: 127.1 kB / 440.6 MB, free: 35.6 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.0007134/0.2402, allocations: 0.5703 MB / 441.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.2406, allocations: 188.4 kB / 441.3 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.2407, allocations: 63.23 kB / 441.4 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2407, allocations: 2.5 kB / 441.4 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.2407, allocations: 36.56 kB / 441.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2407, allocations: 0 / 441.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003931/0.2446, allocations: 1.453 MB / 442.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.2447, allocations: 57.06 kB / 442.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.2447, allocations: 121 kB / 443 MB, free: 34.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2448, allocations: 29.7 kB / 443.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.2448, allocations: 109.8 kB / 443.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.2448, allocations: 116.4 kB / 443.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2449, allocations: 29.61 kB / 443.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.2449, allocations: 324.4 kB / 443.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2451, allocations: 93.17 kB / 443.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2452, allocations: 133.4 kB / 443.9 MB, free: 33.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.2494, allocations: 0.8683 MB / 444.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2494, allocations: 0 / 444.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001035/0.2505, allocations: 423.4 kB / 445.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2505, allocations: 6.656 kB / 445.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2505, allocations: 0 / 445.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009545/0.2515, allocations: 161.1 kB / 445.3 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.2525, allocations: 156.8 kB / 445.5 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.2555, allocations: 4.345 MB / 449.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2557, allocations: 16.75 kB / 449.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2557, allocations: 9.75 kB / 449.8 MB, free: 28.72 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 {(3,4,77.8%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.2559, allocations: 154 kB / 450 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.256, allocations: 13.28 kB / 450 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.2573, allocations: 485.8 kB / 450.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2573, allocations: 2.906 kB / 450.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2573, allocations: 6.875 kB / 450.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2573, allocations: 3.328 kB / 450.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.259, allocations: 0.8504 MB / 451.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.259, allocations: 3.031 kB / 451.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.2599, allocations: 131.9 kB / 451.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.2621, allocations: 320.8 kB / 451.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2622, allocations: 6.5 kB / 451.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.2658, allocations: 4.574 MB / 456.4 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2658, allocations: 0 / 456.4 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2671, allocations: 0.6471 MB / 457 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.2672, allocations: 91.77 kB / 457.1 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.2672, allocations: 7.031 kB / 457.1 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2674, allocations: 10.66 kB / 457.1 MB, free: 22.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.2675, allocations: 36.16 kB / 457.1 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2675, allocations: 8.516 kB / 457.2 MB, free: 22.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.2675, allocations: 93.88 kB / 457.2 MB, free: 22.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2675, allocations: 0 / 457.2 MB, free: 22.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000412/0.2679, allocations: 72.47 kB / 457.3 MB, free: 22.87 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 {(3,4,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.2695, allocations: 1.198 MB / 458.5 MB, free: 21.98 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.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.001661/0.2711, allocations: 0.6249 MB / 459.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2711, allocations: 0 / 459.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.2725, allocations: 0.5253 MB / 459.7 MB, free: 21.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2729, allocations: 31.3 kB / 459.7 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.2763, allocations: 2.748 MB / 462.4 MB, free: 19.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2765, allocations: 0.7357 MB / 463.2 MB, free: 18.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.2766, allocations: 15.88 kB / 463.2 MB, free: 18.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.2767, allocations: 55.53 kB / 463.2 MB, free: 18.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2767, allocations: 0 / 463.2 MB, free: 18.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/0.4186, allocations: 5.134 MB / 468.4 MB, free: 18.22 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.4189, allocations: 217.8 kB / 468.6 MB, free: 17.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.763, allocations: 0 / 468.6 MB, free: 17.96 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)