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.1001/0.1001, allocations: 21.41 MB / 36.68 MB, free: 1.148 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.001022/0.001022, allocations: 181.2 kB / 42.86 MB, free: 3.867 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.663/1.663, allocations: 205 MB / 253.9 MB, free: 15.02 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.0007211/0.0007211, allocations: 84.72 kB / 307.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 10.34 kB / 372.5 MB, free: 59.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 52.52 MB / 425 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002983/0.116, allocations: 1.837 MB / 426.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008728/0.1169, allocations: 0.6127 MB / 427.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.117, allocations: 0 / 427.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1174, allocations: 39.77 kB / 427.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1176, allocations: 51.81 kB / 427.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1178, allocations: 95.77 kB / 427.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.1181, allocations: 247.5 kB / 427.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1182, allocations: 41.67 kB / 427.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1183, allocations: 99.53 kB / 428 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1185, allocations: 119.6 kB / 428.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.1186, allocations: 8 kB / 428.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.1186, allocations: 8 kB / 428.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.1187, allocations: 55.81 kB / 428.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.1188, allocations: 79.45 kB / 428.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1189, allocations: 171.3 kB / 428.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1189, allocations: 0 / 428.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1189, allocations: 7.938 kB / 428.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1189, allocations: 0 / 428.5 MB, free: 10.8 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.001183/0.1201, allocations: 0.5728 MB / 429 MB, free: 10.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1202, allocations: 16.03 kB / 429 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.1202, allocations: 16.75 kB / 429.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.1208, allocations: 315.2 kB / 429.4 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1208, allocations: 8.609 kB / 429.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.1208, allocations: 16.36 kB / 429.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1211, allocations: 147.8 kB / 429.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1211, allocations: 4 kB / 429.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1211, allocations: 4 kB / 429.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1211, allocations: 4 kB / 429.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.1214, allocations: 141.5 kB / 429.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.1221, allocations: 0.5356 MB / 430.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1225, allocations: 194.5 kB / 430.4 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1226, allocations: 88.81 kB / 430.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1227, allocations: 3.984 kB / 430.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.1227, allocations: 34.56 kB / 430.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1227, allocations: 0 / 430.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004956/0.1232, allocations: 270.3 kB / 430.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1233, allocations: 55.41 kB / 430.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.1237, allocations: 270.9 kB / 431.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1237, allocations: 25.7 kB / 431.1 MB, free: 7.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.1238, allocations: 139.9 kB / 431.3 MB, free: 7.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.1238, allocations: 59.05 kB / 431.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.1239, allocations: 37.7 kB / 431.4 MB, free: 7.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.1239, allocations: 330.8 kB / 431.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1241, allocations: 63.91 kB / 431.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1242, allocations: 67.95 kB / 431.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.1258, allocations: 468.4 kB / 432.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1258, allocations: 0 / 432.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003509/0.1261, allocations: 233.3 kB / 432.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1262, allocations: 8 kB / 432.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1262, allocations: 0 / 432.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1262, allocations: 0 / 432.5 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1264, allocations: 43.91 kB / 432.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1264, allocations: 4 kB / 432.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.1266, allocations: 27.91 kB / 432.6 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1267, allocations: 11.98 kB / 432.6 MB, free: 6.43 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.0001735/0.1269, allocations: 154.9 kB / 432.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.1269, allocations: 15.81 kB / 432.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.1274, allocations: 241.2 kB / 433 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1274, allocations: 4 kB / 433 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1274, allocations: 0 / 433 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1274, allocations: 3.984 kB / 433 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1276, allocations: 293.3 kB / 433.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1276, allocations: 3.984 kB / 433.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.1279, allocations: 31.97 kB / 433.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1279, allocations: 4 kB / 433.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1279, allocations: 8 kB / 433.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1279, allocations: 8 kB / 433.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1279, allocations: 0 / 433.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.1284, allocations: 401.5 kB / 433.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1284, allocations: 108.8 kB / 433.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1285, allocations: 4 kB / 433.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.1287, allocations: 31.95 kB / 433.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1288, allocations: 7.984 kB / 433.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.1288, allocations: 8 kB / 433.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003524/0.1291, allocations: 207.1 kB / 434.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1292, allocations: 0 / 434.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.1294, allocations: 35.94 kB / 434.1 MB, free: 4.793 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 0.0001021/0.1295, allocations: 107.2 kB / 434.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.1298, allocations: 181.7 kB / 434.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1298, allocations: 4 kB / 434.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1299, allocations: 87.89 kB / 434.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1303, allocations: 31.98 kB / 434.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.1312, allocations: 0.5512 MB / 435.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.1314, allocations: 0.7478 MB / 435.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1316, allocations: 45.52 kB / 435.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.1316, allocations: 19.42 kB / 435.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1316, allocations: 4 kB / 435.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of Templates: time 0.004247/0.1359, allocations: 1.746 MB / 437.7 MB, free: 1.219 MB / 298.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)