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.006414/0.006415, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.001276/0.001276, allocations: 194 kB / 16.67 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09568/0.09568, allocations: 22.33 MB / 312.9 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 68.03 kB / 434.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1126, allocations: 54.96 MB / 489.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.00298/0.1156, allocations: 1.804 MB / 491.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1166, allocations: 0.6585 MB / 491.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1167, allocations: 0 / 491.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.934e-05/0.1168, allocations: 15.8 kB / 491.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1169, allocations: 47.61 kB / 491.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1171, allocations: 47.86 kB / 492 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1173, allocations: 199.7 kB / 492.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1175, allocations: 65.41 kB / 492.2 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1177, allocations: 87.7 kB / 492.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1179, allocations: 87.66 kB / 492.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1179, allocations: 12 kB / 492.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.118, allocations: 16 kB / 492.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.118, allocations: 35.84 kB / 492.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1181, allocations: 79.59 kB / 492.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1183, allocations: 135.4 kB / 492.7 MB, free: 4.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1183, allocations: 4 kB / 492.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1183, allocations: 0 / 492.7 MB, free: 4.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1184, allocations: 0 / 492.7 MB, free: 4.043 MB / 366.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.0007682/0.1191, allocations: 446.9 kB / 493.1 MB, free: 3.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1192, allocations: 8.031 kB / 493.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.1192, allocations: 54.73 kB / 493.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1193, allocations: 16.84 kB / 493.2 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1195, allocations: 180.2 kB / 493.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1195, allocations: 8.375 kB / 493.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.1196, allocations: 28.11 kB / 493.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.1198, allocations: 145.4 kB / 493.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1199, allocations: 0 / 493.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1199, allocations: 15.98 kB / 493.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1199, allocations: 4 kB / 493.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.1201, allocations: 131.6 kB / 493.7 MB, free: 2.926 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.001133/0.1213, allocations: 0.5638 MB / 494.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.1218, allocations: 186.8 kB / 494.5 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.1219, allocations: 72.77 kB / 494.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.1219, allocations: 3.984 kB / 494.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.122, allocations: 38.56 kB / 494.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.122, allocations: 4 kB / 494.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.004702/0.1267, allocations: 1.426 MB / 496 MB, free: 480 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1267, allocations: 55.41 kB / 496 MB, free: 412 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.1268, allocations: 113.8 kB / 496.2 MB, free: 288 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1269, allocations: 33.7 kB / 496.2 MB, free: 248 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.127, allocations: 112.9 kB / 496.3 MB, free: 128 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/0.1271, allocations: 123 kB / 496.4 MB, free: 4 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1272, allocations: 57.64 kB / 496.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1274, allocations: 318.8 kB / 496.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1275, allocations: 87.83 kB / 496.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1277, allocations: 135.3 kB / 497 MB, free: 15.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.1325, allocations: 0.8337 MB / 497.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1325, allocations: 4 kB / 497.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001558/0.1341, allocations: 406.7 kB / 498.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1341, allocations: 4 kB / 498.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1341, allocations: 7.938 kB / 498.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.1353, allocations: 149.6 kB / 498.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.1367, allocations: 163.8 kB / 498.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.1429, allocations: 4.698 MB / 0.4915 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.1431, allocations: 15.97 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1432, allocations: 4 kB / 0.4915 GB, free: 8.664 MB / 382.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.0003671/0.1436, allocations: 149.8 kB / 0.4916 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.1436, allocations: 11.95 kB / 0.4916 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.1455, allocations: 469.5 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.1455, allocations: 7.938 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1455, allocations: 4 kB / 0.4921 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1455, allocations: 3.984 kB / 0.4921 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.1474, allocations: 0.8372 MB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1475, allocations: 8.062 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009778/0.1485, allocations: 128 kB / 0.493 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.1503, allocations: 301.2 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.1503, allocations: 7.984 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005449/0.1558, allocations: 4.933 MB / 0.4982 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1558, allocations: 0 / 0.4982 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.1574, allocations: 0.647 MB / 0.4988 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.1574, allocations: 92.95 kB / 0.4989 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1575, allocations: 8 kB / 0.4989 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1577, allocations: 4 kB / 0.4989 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.1577, allocations: 35.88 kB / 0.4989 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1578, allocations: 12 kB / 0.4989 GB, free: 476 kB / 382.1 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.1578, allocations: 87.2 kB / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1578, allocations: 8 kB / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000486/0.1583, allocations: 72 kB / 0.4991 GB, free: 308 kB / 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.206/0.3643, allocations: 1.179 MB / 0.5002 GB, free: 20.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.366, allocations: 0.6122 MB / 0.5008 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.366, allocations: 0 / 0.5008 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3673, allocations: 0.4983 MB / 0.5013 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3677, allocations: 40.27 kB / 0.5014 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.371, allocations: 2.609 MB / 0.5039 GB, free: 18.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.3712, allocations: 0.7287 MB / 0.5046 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.3713, allocations: 23.2 kB / 0.5047 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.3714, allocations: 53.22 kB / 0.5047 GB, free: 18.28 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3714, allocations: 0 / 0.5047 GB, free: 18.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.4073, allocations: 5.588 MB / 0.5102 GB, free: 17.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.78, allocations: 8.203 kB / 0.5102 GB, free: 17.69 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)