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.1091/0.1091, allocations: 21.44 MB / 36.39 MB, free: 1.164 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.001157/0.001157, allocations: 187.5 kB / 42.62 MB, free: 3.988 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.766/1.766, allocations: 205.4 MB / 254.1 MB, free: 15.19 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.00107/0.001071, allocations: 100.5 kB / 307.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003661, allocations: 9.25 kB / 373.2 MB, free: 58.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 52.96 MB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4361, allocations: 79.16 MB / 0.4935 GB, free: 24.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4364, allocations: 77.19 kB / 0.4936 GB, free: 24.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.4482, allocations: 3.513 MB / 0.497 GB, free: 23.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4482, allocations: 0 / 0.497 GB, free: 23.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.4483, allocations: 6.781 kB / 0.497 GB, free: 23.75 MB / 362.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.001056/0.4493, allocations: 0.5413 MB / 0.4975 GB, free: 23.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4494, allocations: 9.562 kB / 0.4975 GB, free: 23.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.4494, allocations: 24 kB / 0.4976 GB, free: 23.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.4501, allocations: 317.7 kB / 0.4979 GB, free: 23.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4501, allocations: 13.53 kB / 0.4979 GB, free: 23.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.4502, allocations: 13.84 kB / 0.4979 GB, free: 23.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4505, allocations: 140.7 kB / 0.498 GB, free: 23.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4505, allocations: 0 / 0.498 GB, free: 23.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4506, allocations: 4.969 kB / 0.498 GB, free: 23.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4506, allocations: 3.281 kB / 0.498 GB, free: 23.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.4509, allocations: 134.1 kB / 0.4982 GB, free: 23.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.4517, allocations: 0.5164 MB / 0.4987 GB, free: 22.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.4522, allocations: 200.4 kB / 0.4989 GB, free: 22.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.4523, allocations: 4.125 kB / 0.4989 GB, free: 22.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4523, allocations: 34.38 kB / 0.4989 GB, free: 22.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.4523, allocations: 1.406 kB / 0.4989 GB, free: 22.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005814/0.4529, allocations: 261.9 kB / 0.4992 GB, free: 22.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.453, allocations: 52.59 kB / 0.4992 GB, free: 22.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.4535, allocations: 254.8 kB / 0.4994 GB, free: 22.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4535, allocations: 27.64 kB / 0.4995 GB, free: 22.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.4535, allocations: 126.3 kB / 0.4996 GB, free: 22.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.4536, allocations: 58.22 kB / 0.4996 GB, free: 22.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.4536, allocations: 5.438 kB / 0.4997 GB, free: 22.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.4537, allocations: 333.6 kB / 0.5 GB, free: 21.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.4538, allocations: 60.98 kB / 0.5 GB, free: 21.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.454, allocations: 63.7 kB / 0.5001 GB, free: 21.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.4541, allocations: 81.97 kB / 0.5002 GB, free: 21.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4541, allocations: 1.406 kB / 0.5002 GB, free: 21.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003582/0.4545, allocations: 231.8 kB / 0.5004 GB, free: 21.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4545, allocations: 5.562 kB / 0.5004 GB, free: 21.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4545, allocations: 2.344 kB / 0.5004 GB, free: 21.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4545, allocations: 5.594 kB / 0.5004 GB, free: 21.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.4548, allocations: 35.56 kB / 0.5004 GB, free: 21.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4548, allocations: 8 kB / 0.5004 GB, free: 21.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.455, allocations: 26.61 kB / 0.5005 GB, free: 21.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4551, allocations: 9.219 kB / 0.5005 GB, free: 21.91 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(start = Act1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.4553, allocations: 161.1 kB / 0.5006 GB, free: 21.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.4553, allocations: 16.16 kB / 0.5006 GB, free: 21.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.4558, allocations: 240.9 kB / 0.5009 GB, free: 21.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4558, allocations: 1.688 kB / 0.5009 GB, free: 21.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4558, allocations: 3.953 kB / 0.5009 GB, free: 21.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.4558, allocations: 4.266 kB / 0.5009 GB, free: 21.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.4562, allocations: 283.3 kB / 0.5012 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4562, allocations: 0 / 0.5012 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4565, allocations: 39.12 kB / 0.5012 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4565, allocations: 1.531 kB / 0.5012 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.4565, allocations: 6.109 kB / 0.5012 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4565, allocations: 6.594 kB / 0.5012 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4565, allocations: 4.797 kB / 0.5012 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.457, allocations: 398 kB / 0.5016 GB, free: 21.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.4571, allocations: 102.5 kB / 0.5017 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.4571, allocations: 10.91 kB / 0.5017 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4574, allocations: 27.08 kB / 0.5017 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.4575, allocations: 17.53 kB / 0.5017 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4575, allocations: 8.797 kB / 0.5018 GB, free: 21.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004054/0.4579, allocations: 207.7 kB / 0.5019 GB, free: 21.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4579, allocations: 1.969 kB / 0.502 GB, free: 21.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.4582, allocations: 41.81 kB / 0.502 GB, free: 21.16 MB / 362.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 (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 0.0001368/0.4584, allocations: 107.5 kB / 0.5021 GB, free: 21.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003887/0.4588, allocations: 172.3 kB / 0.5023 GB, free: 21.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4588, allocations: 3.625 kB / 0.5023 GB, free: 21.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.459, allocations: 89.28 kB / 0.5023 GB, free: 21.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.4593, allocations: 31.34 kB / 0.5024 GB, free: 21.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4605, allocations: 0.539 MB / 0.5029 GB, free: 20.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.4608, allocations: 0.7546 MB / 0.5036 GB, free: 20.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.4609, allocations: 42.89 kB / 0.5037 GB, free: 20.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.461, allocations: 24.2 kB / 0.5037 GB, free: 20.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.461, allocations: 0 / 0.5037 GB, free: 20.06 MB / 362.7 MB Notification: Performance of Templates: time 0.004994/0.466, allocations: 1.721 MB / 0.5054 GB, free: 19.92 MB / 362.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)