Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") [/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.09761/0.09761, allocations: 21.6 MB / 37.4 MB, free: 0.7383 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.001169/0.001169, allocations: 192.4 kB / 43.64 MB, free: 3.562 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.326/1.326, allocations: 205.1 MB / 254.8 MB, free: 14.27 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.0009261/0.0009261, allocations: 105.2 kB / 307.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 56.48 kB / 372.3 MB, free: 59.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.0828, allocations: 51.97 MB / 424.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002918/0.08576, allocations: 2.305 MB / 426.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003076/0.08609, allocations: 203.1 kB / 426.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.0862, allocations: 4 kB / 426.8 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.08627, allocations: 15.84 kB / 426.8 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.08643, allocations: 59.55 kB / 426.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.08657, allocations: 35.95 kB / 426.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.08673, allocations: 210.9 kB / 427.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.08697, allocations: 92.17 kB / 427.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.08707, allocations: 79.64 kB / 427.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.0872, allocations: 83.52 kB / 427.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.08723, allocations: 12 kB / 427.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/0.08726, allocations: 12 kB / 427.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.0873, allocations: 31.86 kB / 427.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.08738, allocations: 87.53 kB / 427.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.08753, allocations: 191.3 kB / 427.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.08754, allocations: 4 kB / 427.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.08755, allocations: 0 / 427.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.08756, allocations: 0 / 427.7 MB, free: 11.11 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004925/0.08806, allocations: 482.8 kB / 428.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.0881, allocations: 8.031 kB / 428.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.08814, allocations: 20.75 kB / 428.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.08833, allocations: 231.9 kB / 428.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.08834, allocations: 12.66 kB / 428.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.08838, allocations: 16.38 kB / 428.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.08858, allocations: 128.4 kB / 428.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.0886, allocations: 8.062 kB / 428.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.08862, allocations: 19.92 kB / 428.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.08863, allocations: 0 / 428.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.08876, allocations: 72.81 kB / 428.7 MB, free: 10.04 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.0895, allocations: 0.651 MB / 429.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.08962, allocations: 54.5 kB / 429.4 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.08967, allocations: 20.86 kB / 429.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.08969, allocations: 3.938 kB / 429.4 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.08971, allocations: 38.56 kB / 429.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.08972, allocations: 0 / 429.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.08992, allocations: 89.52 kB / 429.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.08996, allocations: 51.41 kB / 429.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.09011, allocations: 224.9 kB / 429.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.09012, allocations: 25.7 kB / 429.8 MB, free: 8.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.09019, allocations: 140 kB / 430 MB, free: 8.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.09021, allocations: 23.73 kB / 430 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.09025, allocations: 25.62 kB / 430 MB, free: 8.551 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.09031, allocations: 334.8 kB / 430.3 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.09036, allocations: 16 kB / 430.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.09042, allocations: 51.42 kB / 430.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.09065, allocations: 95.34 kB / 430.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.09066, allocations: 0 / 430.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001421/0.09081, allocations: 113.4 kB / 430.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.09083, allocations: 4 kB / 430.6 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.09084, allocations: 4 kB / 430.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.09085, allocations: 0 / 430.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.09111, allocations: 40.05 kB / 430.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.09113, allocations: 4 kB / 430.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.09121, allocations: 11.84 kB / 430.7 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.09122, allocations: 7.938 kB / 430.7 MB, free: 7.844 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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: 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 (10): * Single equations (assignments): 10 * 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.0001134/0.09134, allocations: 133.8 kB / 430.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.09138, allocations: 16.05 kB / 430.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.09141, allocations: 17.25 kB / 430.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.09141, allocations: 7.922 kB / 430.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.09142, allocations: 3.984 kB / 430.9 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.09143, allocations: 0 / 430.9 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.09184, allocations: 412.1 kB / 431.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.09185, allocations: 4.094 kB / 431.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.09193, allocations: 11.98 kB / 431.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.09194, allocations: 0 / 431.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.09195, allocations: 7.938 kB / 431.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.09196, allocations: 0 / 431.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09197, allocations: 192 / 431.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.09273, allocations: 1.088 MB / 432.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.09278, allocations: 100.9 kB / 432.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.09281, allocations: 4 kB / 432.5 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.0929, allocations: 3.938 kB / 432.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.09293, allocations: 7.938 kB / 432.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.09294, allocations: 4.125 kB / 432.5 MB, free: 5.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.09304, allocations: 168.5 kB / 432.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09304, allocations: 0 / 432.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.09333, allocations: 51.84 kB / 432.7 MB, free: 5.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.225e-05/0.09341, allocations: 91.25 kB / 432.8 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.09354, allocations: 47.92 kB / 432.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09355, allocations: 0 / 432.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.09358, allocations: 24.05 kB / 432.9 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.09388, allocations: 33.22 kB / 432.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.09465, allocations: 0.5654 MB / 433.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.09478, allocations: 0.7241 MB / 434.2 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.266e-05/0.09487, allocations: 17.55 kB / 434.2 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.09491, allocations: 15.44 kB / 434.2 MB, free: 3.988 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09491, allocations: 0 / 434.2 MB, free: 3.988 MB / 298.7 MB Notification: Performance of Templates: time 0.003323/0.09824, allocations: 1.61 MB / 435.8 MB, free: 2.383 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & ./AES_AES.Devel_test_models.Test_header_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)