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.1096/0.1096, allocations: 21.44 MB / 36.4 MB, free: 1.199 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.001138/0.001138, allocations: 183.7 kB / 42.63 MB, free: 3.992 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.544/1.544, allocations: 205.4 MB / 254.1 MB, free: 15.2 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.0008087/0.0008087, allocations: 97.53 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8.812 kB / 373.2 MB, free: 59.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08271, allocations: 52.96 MB / 426.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.001586/0.08433, allocations: 1.616 MB / 427.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.08462, allocations: 183.4 kB / 428 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.0847, allocations: 4 kB / 428 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.08475, allocations: 23.78 kB / 428 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.08487, allocations: 71.78 kB / 428.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.08499, allocations: 23.97 kB / 428.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.0851, allocations: 123.7 kB / 428.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.08527, allocations: 65.67 kB / 428.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.08536, allocations: 55.8 kB / 428.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.08545, allocations: 71.69 kB / 428.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.08548, allocations: 4 kB / 428.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.106e-05/0.08551, allocations: 8 kB / 428.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.08553, allocations: 19.92 kB / 428.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.08556, allocations: 49.64 kB / 428.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.443e-05/0.08565, allocations: 103.7 kB / 428.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.08566, allocations: 0 / 428.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.08567, allocations: 0 / 428.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.08568, allocations: 4 kB / 428.6 MB, free: 10.75 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.0004021/0.08608, allocations: 426.6 kB / 429 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.08612, allocations: 8.031 kB / 429 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.08616, allocations: 15.81 kB / 429 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.08633, allocations: 215.5 kB / 429.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.08636, allocations: 11.95 kB / 429.3 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.08638, allocations: 4 kB / 429.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.08656, allocations: 131.1 kB / 429.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.08658, allocations: 0 / 429.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.0866, allocations: 4 kB / 429.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.08661, allocations: 4 kB / 429.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.08673, allocations: 59.88 kB / 429.4 MB, free: 9.789 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.0007671/0.0875, allocations: 0.7963 MB / 430.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.08762, allocations: 42.56 kB / 430.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.08764, allocations: 0 / 430.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.08766, allocations: 38.56 kB / 430.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.08767, allocations: 4 kB / 430.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001797/0.08785, allocations: 73.52 kB / 430.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.08788, allocations: 55.41 kB / 430.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.088, allocations: 195.8 kB / 430.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.08802, allocations: 25.7 kB / 430.7 MB, free: 8.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.08807, allocations: 127.9 kB / 430.8 MB, free: 8.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.08808, allocations: 7.812 kB / 430.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.08809, allocations: 8 kB / 430.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.08814, allocations: 322.8 kB / 431.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.08818, allocations: 15.94 kB / 431.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.08822, allocations: 33.69 kB / 431.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.08827, allocations: 16 kB / 431.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.08828, allocations: 0 / 431.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.0884, allocations: 93.38 kB / 431.3 MB, free: 7.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.08842, allocations: 14.53 kB / 431.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.08843, allocations: 0 / 431.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.08844, allocations: 0 / 431.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.08853, allocations: 12 kB / 431.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.08855, allocations: 0 / 431.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.08863, allocations: 16.05 kB / 431.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.08865, allocations: 4 kB / 431.3 MB, free: 7.719 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.08876, allocations: 125.8 kB / 431.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.0888, allocations: 23.75 kB / 431.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.08883, allocations: 16.94 kB / 431.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.08884, allocations: 0 / 431.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.08884, allocations: 3.938 kB / 431.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.08885, allocations: 0 / 431.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.089, allocations: 205.6 kB / 431.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.089, allocations: 0 / 431.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.08909, allocations: 11.98 kB / 431.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.08911, allocations: 3.953 kB / 431.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.08912, allocations: 4 kB / 431.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.08912, allocations: 0 / 431.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.08913, allocations: 0 / 431.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.08929, allocations: 179.3 kB / 431.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.08933, allocations: 92.94 kB / 432 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.08936, allocations: 7.953 kB / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.08945, allocations: 0 / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.08947, allocations: 0 / 432 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.08948, allocations: 4.062 kB / 432 MB, free: 6.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.08956, allocations: 145.5 kB / 432.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08957, allocations: 0 / 432.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.08979, allocations: 27.94 kB / 432.2 MB, free: 6.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.755e-05/0.08986, allocations: 95.48 kB / 432.3 MB, free: 6.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.08997, allocations: 31.98 kB / 432.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.08998, allocations: 3.938 kB / 432.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.09001, allocations: 19.97 kB / 432.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.09022, allocations: 35.77 kB / 432.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.09067, allocations: 422.1 kB / 432.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.0908, allocations: 0.7126 MB / 433.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.09089, allocations: 21.36 kB / 433.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.09093, allocations: 15.44 kB / 433.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09093, allocations: 0 / 433.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of Templates: time 0.002791/0.09373, allocations: 1.23 MB / 434.7 MB, free: 4.148 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)