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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Thermal.Air.MAvolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Air.MAvolume") translateModel(AES.ProcessComponents.Thermal.Air.MAvolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Air.MAvolume") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1035/0.1035, allocations: 21.44 MB / 36.4 MB, free: 1.219 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 182.4 kB / 42.62 MB, free: 3.973 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 254.1 MB, free: 15.22 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008914, allocations: 89.44 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 8.344 kB / 371.2 MB, free: 60.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 52.94 MB / 424.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001716/0.1213, allocations: 1.458 MB / 425.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007173/0.1221, allocations: 0.602 MB / 426.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.1221, allocations: 8 kB / 426.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.1222, allocations: 11.86 kB / 426.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1223, allocations: 47.88 kB / 426.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.1225, allocations: 35.95 kB / 426.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1226, allocations: 136.3 kB / 426.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1227, allocations: 61.36 kB / 426.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1229, allocations: 75.81 kB / 426.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.123, allocations: 83.67 kB / 426.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.123, allocations: 8 kB / 426.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.123, allocations: 12 kB / 426.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.1231, allocations: 31.84 kB / 426.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1231, allocations: 49.64 kB / 426.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1232, allocations: 87.98 kB / 426.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1232, allocations: 0 / 426.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1232, allocations: 0 / 426.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1233, allocations: 4 kB / 426.9 MB, free: 12.32 MB / 298.7 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.0005777/0.1238, allocations: 430.8 kB / 427.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1239, allocations: 12.02 kB / 427.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.124, allocations: 19.81 kB / 427.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1241, allocations: 182.8 kB / 427.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1241, allocations: 8 kB / 427.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.1241, allocations: 20 kB / 427.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1244, allocations: 149.4 kB / 427.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1244, allocations: 0 / 427.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1244, allocations: 4 kB / 427.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1244, allocations: 4 kB / 427.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1246, allocations: 135.6 kB / 427.8 MB, free: 11.28 MB / 298.7 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.0008417/0.1254, allocations: 0.5717 MB / 428.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.1258, allocations: 187.3 kB / 428.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1259, allocations: 4.188 kB / 428.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.1259, allocations: 34.75 kB / 428.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.1259, allocations: 0 / 428.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.004039/0.1299, allocations: 1.436 MB / 430 MB, free: 8.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.13, allocations: 59.34 kB / 430.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.13, allocations: 113.8 kB / 430.2 MB, free: 8.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1301, allocations: 33.7 kB / 430.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.1301, allocations: 116.7 kB / 430.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.1302, allocations: 110.4 kB / 430.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.1302, allocations: 7.938 kB / 430.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.1303, allocations: 326.8 kB / 430.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1304, allocations: 87.95 kB / 430.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1305, allocations: 127.2 kB / 431 MB, free: 7.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1307, allocations: 97.12 kB / 431.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1307, allocations: 4 kB / 431.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009903/0.1317, allocations: 418.7 kB / 431.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1317, allocations: 8 kB / 431.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1317, allocations: 0 / 431.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/0.1326, allocations: 173.5 kB / 431.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.1336, allocations: 155.8 kB / 431.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.137, allocations: 4.368 MB / 436.2 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1372, allocations: 8 kB / 436.2 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.1372, allocations: 8 kB / 436.2 MB, free: 2.234 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.1374, allocations: 160.8 kB / 436.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.1375, allocations: 11.81 kB / 436.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.1388, allocations: 477.5 kB / 436.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1388, allocations: 4 kB / 436.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1388, allocations: 4 kB / 436.9 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1388, allocations: 4 kB / 436.9 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.1404, allocations: 0.8488 MB / 437.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1404, allocations: 4.062 kB / 437.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.1413, allocations: 135.8 kB / 437.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.1431, allocations: 317.2 kB / 438.2 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.1431, allocations: 11.92 kB / 438.2 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.1482, allocations: 4.596 MB / 442.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1482, allocations: 0 / 442.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.1498, allocations: 0.6656 MB / 443.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.1499, allocations: 92.95 kB / 443.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.1499, allocations: 8 kB / 443.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1501, allocations: 16.12 kB / 443.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.1502, allocations: 27.95 kB / 443.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1502, allocations: 19.97 kB / 443.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.1503, allocations: 83.28 kB / 443.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1503, allocations: 0 / 443.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.1508, allocations: 72 kB / 443.7 MB, free: 10.15 MB / 314.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.1509, allocations: 103.2 kB / 443.8 MB, free: 10.04 MB / 314.7 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.001929/0.1529, allocations: 0.6184 MB / 444.5 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1529, allocations: 0 / 444.5 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.1544, allocations: 0.5283 MB / 445 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1547, allocations: 31.88 kB / 445 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1559, allocations: 0.7526 MB / 445.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1563, allocations: 0.7486 MB / 446.5 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.1565, allocations: 21.94 kB / 446.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1565, allocations: 15.44 kB / 446.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1565, allocations: 4 kB / 446.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of Templates: time 0.006822/0.1634, allocations: 3.357 MB / 449.9 MB, free: 3.848 MB / 314.7 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.makefile (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 & ./AES_AES.ProcessComponents.Thermal.Air.MAvolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1)