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.001186/0.001186, 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.001286/0.001286, allocations: 192.4 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.23/1.23, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1652/0.1652, allocations: 22.35 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001105, allocations: 67.89 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1993, allocations: 54.94 MB / 433.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001925/0.2013, allocations: 1.798 MB / 435.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006013/0.2019, allocations: 0.6502 MB / 436.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.2019, allocations: 3.938 kB / 436.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.202, allocations: 14.08 kB / 436.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.2021, allocations: 47.92 kB / 436.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.2022, allocations: 47.14 kB / 436.3 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2024, allocations: 197.2 kB / 436.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2025, allocations: 68.36 kB / 436.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.2026, allocations: 94.11 kB / 436.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-05/0.2027, allocations: 83.52 kB / 436.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.2027, allocations: 10.84 kB / 436.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.606e-05/0.2027, allocations: 11.06 kB / 436.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.2028, allocations: 35.73 kB / 436.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.2028, allocations: 82.52 kB / 436.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2029, allocations: 132.4 kB / 437 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2029, allocations: 0 / 437 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.203, allocations: 3.125 kB / 437 MB, free: 36.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.203, allocations: 0 / 437 MB, free: 36.7 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.0004848/0.2034, allocations: 448.2 kB / 437.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.2035, allocations: 9.125 kB / 437.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.2035, allocations: 53.58 kB / 437.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.2036, allocations: 20.53 kB / 437.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.2036, allocations: 185.3 kB / 437.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2036, allocations: 11.94 kB / 437.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.2037, allocations: 35.14 kB / 437.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2039, allocations: 159.2 kB / 437.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2039, allocations: 0 / 437.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.2039, allocations: 6.562 kB / 437.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2039, allocations: 2.719 kB / 438 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2041, allocations: 125.3 kB / 438.1 MB, free: 35.87 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.0006486/0.2047, allocations: 0.5663 MB / 438.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.2051, allocations: 189.3 kB / 438.8 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.2051, allocations: 65.97 kB / 438.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2052, allocations: 2.969 kB / 438.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-06/0.2052, allocations: 34.5 kB / 438.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.2052, allocations: 0 / 438.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00355/0.2087, allocations: 1.429 MB / 440.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.2088, allocations: 54.16 kB / 440.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.334e-05/0.2088, allocations: 124.6 kB / 440.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2088, allocations: 29.7 kB / 440.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.2089, allocations: 116.9 kB / 440.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.2089, allocations: 112.2 kB / 440.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.209, allocations: 53.02 kB / 440.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.209, allocations: 325.3 kB / 441.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.2092, allocations: 83.66 kB / 441.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2093, allocations: 131.8 kB / 441.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.2127, allocations: 0.8363 MB / 442.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2127, allocations: 0 / 442.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000844/0.2136, allocations: 407.7 kB / 442.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2136, allocations: 5.781 kB / 442.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2136, allocations: 0 / 442.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.2143, allocations: 156.1 kB / 442.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.2152, allocations: 159.4 kB / 442.9 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.2179, allocations: 4.698 MB / 447.6 MB, free: 28.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.218, allocations: 6.875 kB / 447.6 MB, free: 28.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.218, allocations: 9.875 kB / 447.6 MB, free: 28.62 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = 0.0 start = pstart unit = "Pa" fixed = true nominal = 100000.0 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.0001834/0.2182, allocations: 148.9 kB / 447.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.2183, allocations: 16.17 kB / 447.8 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.2194, allocations: 471.4 kB / 448.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2194, allocations: 10.41 kB / 448.3 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2194, allocations: 2.75 kB / 448.3 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2194, allocations: 3.188 kB / 448.3 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.2208, allocations: 0.8427 MB / 449.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2209, allocations: 0 / 449.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.2217, allocations: 134.8 kB / 449.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.2233, allocations: 300.5 kB / 449.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.2233, allocations: 7.125 kB / 449.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.2263, allocations: 4.94 MB / 454.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2263, allocations: 0 / 454.5 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.2275, allocations: 0.648 MB / 455.1 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.2275, allocations: 92.03 kB / 455.2 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.2276, allocations: 4 kB / 455.2 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.2277, allocations: 10.69 kB / 455.2 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.2278, allocations: 30.61 kB / 455.3 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2278, allocations: 15.78 kB / 455.3 MB, free: 22.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.075e-05/0.2278, allocations: 82.98 kB / 455.4 MB, free: 22.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2278, allocations: 0 / 455.4 MB, free: 22.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.2282, allocations: 75 kB / 455.4 MB, free: 22.39 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.001299/0.2295, allocations: 1.193 MB / 456.6 MB, free: 21.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.231, allocations: 0.605 MB / 457.2 MB, free: 21.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.231, allocations: 2.625 kB / 457.2 MB, free: 21.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2322, allocations: 0.5125 MB / 457.7 MB, free: 20.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2325, allocations: 33.78 kB / 457.8 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.2355, allocations: 2.585 MB / 460.4 MB, free: 18.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2356, allocations: 0.7354 MB / 461.1 MB, free: 18.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.2357, allocations: 23.53 kB / 461.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.2358, allocations: 55.44 kB / 461.2 MB, free: 18.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2358, allocations: 0 / 461.2 MB, free: 18.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.729/2.965, allocations: 5.472 MB / 466.6 MB, free: 17.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/18.14, allocations: 3 kB / 466.6 MB, free: 17.62 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)