Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") translateModel(AES.Devel_test_models.Test_SR01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_SR01") [/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.09884/0.09884, allocations: 21.61 MB / 37.4 MB, free: 0.7617 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.001165/0.001165, allocations: 184.5 kB / 43.63 MB, free: 3.578 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.432/1.432, 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.0009594/0.0009593, allocations: 98.22 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000994/0.000994, allocations: 56.14 kB / 372.3 MB, free: 59.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.0884, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001826/0.09026, allocations: 0.7778 MB / 425.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.0904, allocations: 23.92 kB / 425.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.09044, allocations: 0 / 425.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.09047, allocations: 0 / 425.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.09055, allocations: 7.922 kB / 425.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.716e-05/0.09062, allocations: 0 / 425.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.708e-05/0.09067, allocations: 20 kB / 425.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.09075, allocations: 7.984 kB / 425.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.09078, allocations: 11.92 kB / 425.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.09084, allocations: 11.98 kB / 425.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.09087, allocations: 0 / 425.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.09089, allocations: 4 kB / 425.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.09091, allocations: 3.938 kB / 425.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.09093, allocations: 11.94 kB / 425.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.603e-05/0.09099, allocations: 19.89 kB / 425.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.091, allocations: 0 / 425.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.09101, allocations: 0 / 425.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.09102, allocations: 0 / 425.2 MB, free: 13.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002708/0.09129, allocations: 332.3 kB / 425.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.09133, allocations: 8.031 kB / 425.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.09136, allocations: 4.938 kB / 425.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.09144, allocations: 172.4 kB / 425.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.09146, allocations: 384 / 425.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.09147, allocations: 4.375 kB / 425.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/0.09155, allocations: 38.25 kB / 425.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.09156, allocations: 192 / 425.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.09157, allocations: 11.94 kB / 425.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-06/0.09158, allocations: 0 / 425.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.09163, allocations: 19.88 kB / 425.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.09186, allocations: 245 kB / 426 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.09195, allocations: 46.56 kB / 426.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.09198, allocations: 12.86 kB / 426.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.09201, allocations: 4 kB / 426.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.09202, allocations: 34.5 kB / 426.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.09203, allocations: 0 / 426.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001329/0.09217, allocations: 57.78 kB / 426.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.09219, allocations: 51.41 kB / 426.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.434e-05/0.09224, allocations: 105.8 kB / 426.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.09225, allocations: 25.7 kB / 426.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.09228, allocations: 92.08 kB / 426.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.0923, allocations: 7.844 kB / 426.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.09233, allocations: 17.72 kB / 426.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.09237, allocations: 314.8 kB / 426.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.09239, allocations: 4 kB / 426.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.09241, allocations: 8 kB / 426.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.09245, allocations: 24.78 kB / 426.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.09245, allocations: 0 / 426.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.143e-05/0.09252, allocations: 49.64 kB / 426.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.09254, allocations: 8 kB / 426.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.09255, allocations: 3.984 kB / 426.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.09256, allocations: 0 / 426.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.09262, allocations: 4 kB / 426.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.09263, allocations: 0 / 426.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.09265, allocations: 0 / 426.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.09267, allocations: 8 kB / 426.9 MB, free: 11.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 4.042e-05/0.09271, allocations: 109.8 kB / 427 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.09274, allocations: 7.906 kB / 427 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.09287, allocations: 77.11 kB / 427.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.09288, allocations: 0 / 427.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.09289, allocations: 0 / 427.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.09289, allocations: 0 / 427.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.093, allocations: 169.6 kB / 427.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.09301, allocations: 0 / 427.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.09305, allocations: 8 kB / 427.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.09306, allocations: 4 kB / 427.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.09307, allocations: 0 / 427.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.09308, allocations: 8.047 kB / 427.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.09309, allocations: 4 kB / 427.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.0933, allocations: 0.7045 MB / 428 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.09333, allocations: 81.02 kB / 428 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.09335, allocations: 7.938 kB / 428.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.09341, allocations: 8 kB / 428.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.09342, allocations: 3.938 kB / 428.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.09343, allocations: 3.938 kB / 428.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.09346, allocations: 83.27 kB / 428.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09347, allocations: 3.938 kB / 428.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.09376, allocations: 8 kB / 428.2 MB, free: 10.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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 6.066e-05/0.09383, allocations: 91.25 kB / 428.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.09391, allocations: 24 kB / 428.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.09392, allocations: 0 / 428.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.09394, allocations: 19.92 kB / 428.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.09421, allocations: 7.938 kB / 428.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.09445, allocations: 233.6 kB / 428.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.09457, allocations: 0.6848 MB / 429.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.09461, allocations: 8 kB / 429.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.09464, allocations: 11.44 kB / 429.2 MB, free: 9.121 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.09464, allocations: 0 / 429.2 MB, free: 9.121 MB / 298.7 MB Notification: Performance of Templates: time 0.001829/0.09648, allocations: 445.5 kB / 429.7 MB, free: 8.688 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_SR01.makefile (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & ./AES_AES.Devel_test_models.Test_SR01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)