Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [/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.0899/0.0899, allocations: 21.6 MB / 37.4 MB, free: 0.75 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.00114/0.00114, allocations: 188.5 kB / 43.63 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.28/1.28, allocations: 205.1 MB / 254.8 MB, free: 14.26 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.001033/0.001033, allocations: 98.23 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.08 kB / 372.3 MB, free: 59.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08466, allocations: 51.97 MB / 424.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002419/0.08711, allocations: 1.857 MB / 426.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007805/0.08791, allocations: 0.6127 MB / 426.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.08801, allocations: 7.938 kB / 426.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.08827, allocations: 35.84 kB / 426.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.08842, allocations: 47.77 kB / 426.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.08859, allocations: 87.88 kB / 426.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.08881, allocations: 255.4 kB / 427.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.08893, allocations: 45.66 kB / 427.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.08903, allocations: 91.61 kB / 427.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.08918, allocations: 115.6 kB / 427.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.08922, allocations: 12 kB / 427.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.08925, allocations: 8 kB / 427.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.08932, allocations: 59.8 kB / 427.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.08939, allocations: 79.41 kB / 427.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.08953, allocations: 175.4 kB / 427.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.08955, allocations: 0 / 427.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08955, allocations: 0 / 427.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.08956, allocations: 0 / 427.8 MB, free: 11.02 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001082/0.09065, allocations: 0.5767 MB / 428.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.09069, allocations: 12.03 kB / 428.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.09074, allocations: 20.75 kB / 428.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.09128, allocations: 315.2 kB / 428.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.0913, allocations: 8.609 kB / 428.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.09134, allocations: 12.38 kB / 428.7 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.09156, allocations: 151.8 kB / 428.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.09158, allocations: 0 / 428.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.0916, allocations: 11.94 kB / 428.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.09161, allocations: 4 kB / 428.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.09184, allocations: 129.5 kB / 429 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.09256, allocations: 0.5434 MB / 429.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.09292, allocations: 190.5 kB / 429.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.09306, allocations: 84.81 kB / 429.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.09309, allocations: 4 kB / 429.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.09311, allocations: 42.5 kB / 429.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.09312, allocations: 3.938 kB / 429.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004913/0.09361, allocations: 262.4 kB / 430.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.09365, allocations: 55.41 kB / 430.2 MB, free: 8.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.09409, allocations: 270.9 kB / 430.4 MB, free: 8.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.09412, allocations: 29.7 kB / 430.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.09417, allocations: 135.9 kB / 430.6 MB, free: 8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.09421, allocations: 63.09 kB / 430.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.09427, allocations: 33.7 kB / 430.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.09432, allocations: 326.8 kB / 431 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.09443, allocations: 63.95 kB / 431.1 MB, free: 7.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.09453, allocations: 67.95 kB / 431.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.09604, allocations: 468.4 kB / 431.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09606, allocations: 0 / 431.6 MB, free: 6.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002952/0.09636, allocations: 229.3 kB / 431.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.09638, allocations: 4 kB / 431.8 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.09639, allocations: 4 kB / 431.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.09641, allocations: 3.984 kB / 431.8 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.0966, allocations: 43.92 kB / 431.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.09661, allocations: 0 / 431.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.09683, allocations: 31.89 kB / 431.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.09685, allocations: 8 kB / 431.9 MB, free: 6.656 MB / 298.7 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] 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 (21): * Single equations (assignments): 21 * 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.000147/0.09701, allocations: 162.8 kB / 432.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.09705, allocations: 15.81 kB / 432.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.09744, allocations: 245.8 kB / 432.3 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.09745, allocations: 4 kB / 432.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.09746, allocations: 0 / 432.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.09747, allocations: 0 / 432.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.0977, allocations: 293.3 kB / 432.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.09771, allocations: 3.984 kB / 432.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.09794, allocations: 35.92 kB / 432.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09795, allocations: 0 / 432.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.09798, allocations: 11.98 kB / 432.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.09799, allocations: 4 kB / 432.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09799, allocations: 0 / 432.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.1013, allocations: 2.385 MB / 435.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1013, allocations: 100.9 kB / 435.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1014, allocations: 8.062 kB / 435.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1016, allocations: 31.95 kB / 435.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1017, allocations: 11.97 kB / 435.2 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1017, allocations: 7.938 kB / 435.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.102, allocations: 211.1 kB / 435.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.102, allocations: 7.938 kB / 435.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.1024, allocations: 51.91 kB / 435.5 MB, free: 2.867 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * 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.825e-05/0.1025, allocations: 103.2 kB / 435.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1027, allocations: 178.2 kB / 435.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1027, allocations: 0 / 435.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1029, allocations: 83.89 kB / 435.8 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1032, allocations: 43.97 kB / 435.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.104, allocations: 0.7179 MB / 436.6 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1042, allocations: 0.7557 MB / 437.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.1043, allocations: 53.5 kB / 437.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.1044, allocations: 19.44 kB / 437.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1044, allocations: 0 / 437.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of Templates: time 0.004452/0.1089, allocations: 2.487 MB / 439.9 MB, free: 14.36 MB / 314.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)