Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") [/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.09272/0.09272, allocations: 21.6 MB / 37.4 MB, free: 0.7656 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.001144/0.001144, allocations: 188.5 kB / 43.64 MB, free: 3.57 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.337/1.337, allocations: 205.1 MB / 254.8 MB, free: 14.28 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.0009632/0.0009633, allocations: 112 kB / 307.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 53.95 kB / 372.3 MB, free: 59.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07662/0.07769, allocations: 51.98 MB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002624/0.08035, allocations: 2.115 MB / 426.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003359/0.08071, allocations: 171.3 kB / 426.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.08084, allocations: 4 kB / 426.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.66e-05/0.08091, allocations: 11.92 kB / 426.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.08107, allocations: 51.48 kB / 426.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.0812, allocations: 23.98 kB / 426.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.08134, allocations: 167.1 kB / 426.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.08151, allocations: 73.42 kB / 426.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.0816, allocations: 67.61 kB / 427 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.0817, allocations: 63.7 kB / 427 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.08173, allocations: 8 kB / 427.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/0.08176, allocations: 8 kB / 427.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.08178, allocations: 31.91 kB / 427.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.08185, allocations: 71.61 kB / 427.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.08197, allocations: 147.5 kB / 427.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.08198, allocations: 0 / 427.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08199, allocations: 0 / 427.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.082, allocations: 0 / 427.3 MB, free: 11.48 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004414/0.08244, allocations: 446.8 kB / 427.7 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.08248, allocations: 8.031 kB / 427.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.08253, allocations: 16.75 kB / 427.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.08269, allocations: 216.7 kB / 428 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.08271, allocations: 8.375 kB / 428 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.08274, allocations: 12.28 kB / 428 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.08293, allocations: 119.9 kB / 428.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.08295, allocations: 4.125 kB / 428.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.08297, allocations: 3.938 kB / 428.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.08298, allocations: 7.984 kB / 428.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.08311, allocations: 55.98 kB / 428.2 MB, free: 10.5 MB / 298.7 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.08396, allocations: 0.7936 MB / 429 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.08411, allocations: 54.48 kB / 429 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.08417, allocations: 20.86 kB / 429.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.08419, allocations: 7.875 kB / 429.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.08421, allocations: 38.64 kB / 429.1 MB, free: 9.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.08422, allocations: 3.938 kB / 429.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002055/0.08443, allocations: 73.5 kB / 429.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.08446, allocations: 59.34 kB / 429.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.08459, allocations: 195.8 kB / 429.4 MB, free: 9.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.08461, allocations: 29.7 kB / 429.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.08466, allocations: 123.9 kB / 429.6 MB, free: 8.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.08468, allocations: 11.81 kB / 429.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.08472, allocations: 21.7 kB / 429.6 MB, free: 8.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.08477, allocations: 322.8 kB / 429.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.08481, allocations: 12 kB / 429.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.08485, allocations: 33.7 kB / 430 MB, free: 8.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.08514, allocations: 81.69 kB / 430 MB, free: 8.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.08515, allocations: 4 kB / 430 MB, free: 8.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.08528, allocations: 89.42 kB / 430.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.0853, allocations: 12.03 kB / 430.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.08531, allocations: 0 / 430.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.08533, allocations: 0 / 430.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.08542, allocations: 15.94 kB / 430.2 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.08543, allocations: 0 / 430.2 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.08551, allocations: 15.83 kB / 430.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.08553, allocations: 0 / 430.2 MB, free: 8.305 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.08564, allocations: 125.8 kB / 430.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.08568, allocations: 19.83 kB / 430.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.08571, allocations: 12.94 kB / 430.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.08572, allocations: 0 / 430.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.08573, allocations: 0 / 430.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.08573, allocations: 0 / 430.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.08588, allocations: 209.6 kB / 430.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.08589, allocations: 3.938 kB / 430.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.542e-05/0.08598, allocations: 11.98 kB / 430.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.08599, allocations: 0 / 430.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.086, allocations: 0 / 430.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.08601, allocations: 8 kB / 430.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.08602, allocations: 0 / 430.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.0869, allocations: 1.095 MB / 431.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.08695, allocations: 100.9 kB / 431.8 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.08697, allocations: 4 kB / 431.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.08707, allocations: 0 / 431.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.08709, allocations: 0 / 431.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.0871, allocations: 4 kB / 431.8 MB, free: 6.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.08718, allocations: 149.5 kB / 431.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.08718, allocations: 3.938 kB / 431.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.08746, allocations: 36 kB / 431.9 MB, free: 6.316 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.209e-05/0.08754, allocations: 99.19 kB / 432 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.08766, allocations: 39.97 kB / 432.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.08767, allocations: 0 / 432.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.0877, allocations: 12 kB / 432.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.08801, allocations: 32.55 kB / 432.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.0886, allocations: 494.4 kB / 432.6 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.08873, allocations: 0.7127 MB / 433.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.08881, allocations: 21.42 kB / 433.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.08884, allocations: 11.44 kB / 433.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08885, allocations: 0 / 433.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of Templates: time 0.003327/0.09218, allocations: 1.455 MB / 434.8 MB, free: 3.387 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)