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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.09281/0.09281, allocations: 21.61 MB / 36.56 MB, free: 1.059 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 182.4 kB / 42.83 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 272.2 MB, free: 1.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008479, allocations: 102.2 kB / 328.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 8 kB / 397 MB, free: 46.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.07739, allocations: 55.82 MB / 452.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/0.3481, allocations: 79.98 MB / 0.5204 GB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.3483, allocations: 78.53 kB / 0.5204 GB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009487/0.3578, allocations: 3.551 MB / 0.5239 GB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3579, allocations: 0 / 0.5239 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3579, allocations: 8.969 kB / 0.5239 GB, free: 12.61 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.0007606/0.3586, allocations: 0.5373 MB / 0.5244 GB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.3587, allocations: 11.69 kB / 0.5244 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3587, allocations: 27.22 kB / 0.5245 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.3593, allocations: 312.4 kB / 0.5248 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3593, allocations: 9.234 kB / 0.5248 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3593, allocations: 17.52 kB / 0.5248 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3596, allocations: 148.8 kB / 0.5249 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3596, allocations: 0 / 0.5249 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3596, allocations: 11.23 kB / 0.5249 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3596, allocations: 0 / 0.5249 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.3598, allocations: 135.2 kB / 0.5251 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.3605, allocations: 0.5094 MB / 0.5256 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.3608, allocations: 194 kB / 0.5258 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3609, allocations: 9.453 kB / 0.5258 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.083e-05/0.3609, allocations: 34.56 kB / 0.5258 GB, free: 11.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3609, allocations: 0 / 0.5258 GB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004224/0.3613, allocations: 257.2 kB / 0.526 GB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.3613, allocations: 51.41 kB / 0.5261 GB, free: 11.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.3617, allocations: 243 kB / 0.5263 GB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3618, allocations: 32.27 kB / 0.5264 GB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3618, allocations: 132.5 kB / 0.5265 GB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3619, allocations: 53.64 kB / 0.5265 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.3619, allocations: 3.375 kB / 0.5265 GB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.3619, allocations: 336.9 kB / 0.5269 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.362, allocations: 62.47 kB / 0.5269 GB, free: 10.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.3621, allocations: 64.64 kB / 0.527 GB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3622, allocations: 76.31 kB / 0.527 GB, free: 10.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3623, allocations: 4 kB / 0.5271 GB, free: 10.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003056/0.3626, allocations: 232.8 kB / 0.5273 GB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.3626, allocations: 9.938 kB / 0.5273 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.3626, allocations: 0 / 0.5273 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3626, allocations: 0 / 0.5273 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3628, allocations: 38.8 kB / 0.5273 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3628, allocations: 0 / 0.5273 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.363, allocations: 36.8 kB / 0.5274 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.363, allocations: 7.844 kB / 0.5274 GB, free: 10.66 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.0001267/0.3632, allocations: 159.1 kB / 0.5275 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.3632, allocations: 19.09 kB / 0.5275 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3636, allocations: 249.1 kB / 0.5278 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3636, allocations: 3.844 kB / 0.5278 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3636, allocations: 0 / 0.5278 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3637, allocations: 0 / 0.5278 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.3639, allocations: 295.8 kB / 0.5281 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3639, allocations: 0 / 0.5281 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3641, allocations: 39.02 kB / 0.5281 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3641, allocations: 3.938 kB / 0.5281 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3641, allocations: 3.812 kB / 0.5281 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3641, allocations: 0.875 kB / 0.5281 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3641, allocations: 0 / 0.5281 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.3645, allocations: 403 kB / 0.5285 GB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3646, allocations: 99.92 kB / 0.5286 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.3646, allocations: 0 / 0.5286 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.3649, allocations: 40.11 kB / 0.5286 GB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3649, allocations: 7.516 kB / 0.5286 GB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.365, allocations: 11.77 kB / 0.5286 GB, free: 9.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.3653, allocations: 213.5 kB / 0.5288 GB, free: 9.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3653, allocations: 0 / 0.5288 GB, free: 9.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.3655, allocations: 41.73 kB / 0.5289 GB, free: 9.719 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 8.109e-05/0.3656, allocations: 109.8 kB / 0.529 GB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3659, allocations: 175.6 kB / 0.5292 GB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3659, allocations: 0 / 0.5292 GB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.366, allocations: 92 kB / 0.5292 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3663, allocations: 34.84 kB / 0.5293 GB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.367, allocations: 0.5489 MB / 0.5298 GB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3671, allocations: 0.7557 MB / 0.5305 GB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.3672, allocations: 44.33 kB / 0.5306 GB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.3673, allocations: 22.8 kB / 0.5306 GB, free: 8.449 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3673, allocations: 0 / 0.5306 GB, free: 8.449 MB / 362.7 MB Notification: Performance of Templates: time 0.003319/0.3706, allocations: 1.706 MB / 0.5323 GB, free: 7.633 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)