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.09353/0.09353, allocations: 21.61 MB / 37.41 MB, free: 0.7422 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.001051/0.001051, allocations: 184.5 kB / 43.63 MB, free: 3.566 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.266/1.266, allocations: 205.1 MB / 254.8 MB, free: 14.24 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.0009955/0.0009955, allocations: 106.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009796/0.0009796, allocations: 51.89 kB / 370.3 MB, free: 60.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08981, allocations: 51.98 MB / 422.2 MB, free: 16.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.002295/0.09215, allocations: 1.921 MB / 424.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.09281, allocations: 0.6399 MB / 424.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.09286, allocations: 0 / 424.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.06e-05/0.09293, allocations: 7.922 kB / 424.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.09303, allocations: 43.67 kB / 424.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.09318, allocations: 47.88 kB / 424.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.09331, allocations: 191.7 kB / 425.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.09343, allocations: 61.42 kB / 425.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.09353, allocations: 79.75 kB / 425.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.09363, allocations: 83.67 kB / 425.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.09366, allocations: 8 kB / 425.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.09369, allocations: 12 kB / 425.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.09372, allocations: 27.91 kB / 425.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.09378, allocations: 75.66 kB / 425.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.09389, allocations: 131.7 kB / 425.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.0939, allocations: 0 / 425.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.09391, allocations: 0 / 425.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.09392, allocations: 0 / 425.6 MB, free: 13.2 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.0005397/0.09446, allocations: 455 kB / 426 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.0945, allocations: 12.03 kB / 426 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.09454, allocations: 12.75 kB / 426 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.09463, allocations: 188.1 kB / 426.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.09465, allocations: 12.38 kB / 426.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.09469, allocations: 20.28 kB / 426.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.09491, allocations: 157.3 kB / 426.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.09493, allocations: 0 / 426.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.09495, allocations: 12 kB / 426.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.09496, allocations: 4 kB / 426.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.09513, allocations: 127.7 kB / 426.5 MB, free: 12.13 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.0007909/0.09593, allocations: 0.5675 MB / 427.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.0963, allocations: 178.8 kB / 427.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.09639, allocations: 64.83 kB / 427.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.09643, allocations: 8 kB / 427.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.09645, allocations: 38.44 kB / 427.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.09646, allocations: 4 kB / 427.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.003843/0.1003, allocations: 1.418 MB / 428.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.1003, allocations: 59.41 kB / 428.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/0.1004, allocations: 105.8 kB / 429 MB, free: 9.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1004, allocations: 33.7 kB / 429 MB, free: 9.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.1004, allocations: 120.7 kB / 429.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.1005, allocations: 114.2 kB / 429.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.1006, allocations: 53.7 kB / 429.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.1006, allocations: 330.8 kB / 429.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1007, allocations: 87.97 kB / 429.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1009, allocations: 127.4 kB / 429.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.1048, allocations: 0.8406 MB / 430.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1048, allocations: 0 / 430.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009509/0.1058, allocations: 406.6 kB / 431.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1058, allocations: 8 kB / 431.1 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1058, allocations: 0 / 431.1 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.1066, allocations: 165.9 kB / 431.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.1076, allocations: 155.8 kB / 431.4 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.1104, allocations: 4.321 MB / 435.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.1106, allocations: 16.09 kB / 435.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1106, allocations: 8 kB / 435.7 MB, free: 2.285 MB / 298.7 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.0002066/0.1108, allocations: 152.7 kB / 435.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.1109, allocations: 15.81 kB / 435.9 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.112, allocations: 468.3 kB / 436.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1121, allocations: 0 / 436.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1121, allocations: 4 kB / 436.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1121, allocations: 3.984 kB / 436.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1136, allocations: 0.8412 MB / 437.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1136, allocations: 4 kB / 437.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.1145, allocations: 131.9 kB / 437.3 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.1161, allocations: 293.3 kB / 437.6 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1161, allocations: 4 kB / 437.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.1201, allocations: 4.537 MB / 442.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1201, allocations: 3.938 kB / 442.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.1345, allocations: 7.035 MB / 449.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1346, allocations: 92.86 kB / 449.3 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1346, allocations: 11.97 kB / 449.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1348, allocations: 19.94 kB / 449.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.1349, allocations: 28.2 kB / 449.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1349, allocations: 4 kB / 449.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.135, allocations: 95.33 kB / 449.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.135, allocations: 0 / 449.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006/0.1356, allocations: 120 kB / 449.6 MB, free: 3.488 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 (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.0001266/0.1357, allocations: 103.2 kB / 449.7 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.1374, allocations: 0.6068 MB / 450.3 MB, free: 2.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1374, allocations: 4 kB / 450.3 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.1387, allocations: 0.5055 MB / 450.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1391, allocations: 32.83 kB / 450.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1416, allocations: 1.268 MB / 452.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1418, allocations: 0.7411 MB / 452.8 MB, free: 76 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.142, allocations: 29.92 kB / 452.8 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.142, allocations: 23.44 kB / 452.9 MB, free: 20 kB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.142, allocations: 0 / 452.9 MB, free: 20 kB / 314.7 MB Notification: Performance of Templates: time 0.008246/0.1503, allocations: 5.411 MB / 458.3 MB, free: 10.61 MB / 330.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)