Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") [/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.09038/0.09038, allocations: 21.61 MB / 37.41 MB, free: 0.7461 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.001137/0.001137, allocations: 184.5 kB / 43.63 MB, free: 3.57 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.253/1.253, allocations: 205.1 MB / 254.8 MB, free: 14.25 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.0009264/0.0009264, allocations: 99.28 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 53.58 kB / 372.3 MB, free: 59.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08119, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002722/0.08395, allocations: 1.857 MB / 426.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.08484, allocations: 0.601 MB / 426.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.08498, allocations: 7.938 kB / 426.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.08526, allocations: 35.78 kB / 426.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.08545, allocations: 51.77 kB / 426.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.08565, allocations: 87.88 kB / 426.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.08588, allocations: 247.4 kB / 427.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.086, allocations: 37.67 kB / 427.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.08612, allocations: 91.61 kB / 427.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.08629, allocations: 111.5 kB / 427.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.08633, allocations: 8 kB / 427.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.08637, allocations: 12 kB / 427.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.08645, allocations: 59.8 kB / 427.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.08652, allocations: 79.45 kB / 427.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.08666, allocations: 163.4 kB / 427.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.08667, allocations: 0 / 427.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08668, allocations: 0 / 427.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.08669, allocations: 4 kB / 427.7 MB, free: 11.05 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001105/0.0878, allocations: 0.5726 MB / 428.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.08784, allocations: 8.031 kB / 428.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.0879, allocations: 20.75 kB / 428.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.08842, allocations: 307.6 kB / 428.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.08845, allocations: 12.31 kB / 428.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.08849, allocations: 16.31 kB / 428.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.0887, allocations: 140.3 kB / 428.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.08872, allocations: 0 / 428.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.08874, allocations: 0 / 428.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.08875, allocations: 4 kB / 428.8 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.08896, allocations: 119.8 kB / 428.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.08969, allocations: 0.512 MB / 429.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.09006, allocations: 178.5 kB / 429.6 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.09019, allocations: 76.75 kB / 429.7 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.09022, allocations: 11.92 kB / 429.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.09024, allocations: 34.56 kB / 429.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.09025, allocations: 4 kB / 429.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004098/0.09066, allocations: 237.6 kB / 430 MB, free: 8.652 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.0907, allocations: 51.41 kB / 430 MB, free: 8.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.09114, allocations: 275 kB / 430.3 MB, free: 8.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.09116, allocations: 29.7 kB / 430.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.09121, allocations: 136.3 kB / 430.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.09126, allocations: 55.11 kB / 430.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.09132, allocations: 33.7 kB / 430.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.09137, allocations: 334.8 kB / 430.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.09148, allocations: 55.97 kB / 430.9 MB, free: 7.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.09157, allocations: 59.91 kB / 431 MB, free: 7.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.09323, allocations: 468.4 kB / 431.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.09324, allocations: 0 / 431.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002876/0.09353, allocations: 221.3 kB / 431.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.09356, allocations: 4 kB / 431.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.09357, allocations: 0 / 431.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.09359, allocations: 4 kB / 431.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.09378, allocations: 39.91 kB / 431.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.0938, allocations: 3.938 kB / 431.7 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.09402, allocations: 35.91 kB / 431.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.09404, allocations: 4 kB / 431.7 MB, free: 6.824 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 (20): * Single equations (assignments): 20 * 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.0001426/0.09419, allocations: 164.9 kB / 431.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.09424, allocations: 15.81 kB / 431.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.0946, allocations: 225.5 kB / 432.1 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.09462, allocations: 4 kB / 432.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.09463, allocations: 7.938 kB / 432.1 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.09463, allocations: 3.984 kB / 432.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.09485, allocations: 285.4 kB / 432.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.09486, allocations: 0 / 432.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.09508, allocations: 35.92 kB / 432.5 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.09509, allocations: 4 kB / 432.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.09511, allocations: 7.984 kB / 432.5 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.09512, allocations: 4 kB / 432.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.09513, allocations: 3.938 kB / 432.5 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.09864, allocations: 2.359 MB / 434.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.0987, allocations: 108.8 kB / 434.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.09873, allocations: 4 kB / 434.9 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.09897, allocations: 31.95 kB / 435 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.09903, allocations: 11.98 kB / 435 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.09905, allocations: 4 kB / 435 MB, free: 3.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003498/0.0994, allocations: 212.6 kB / 435.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09941, allocations: 0 / 435.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.09974, allocations: 51.94 kB / 435.3 MB, free: 3.082 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 (17): * Single equations (assignments): 17 * 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.604e-05/0.09982, allocations: 115.1 kB / 435.4 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.1001, allocations: 163.7 kB / 435.5 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1001, allocations: 0 / 435.5 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1002, allocations: 90.23 kB / 435.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1006, allocations: 39.92 kB / 435.7 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.1014, allocations: 0.7062 MB / 436.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.1016, allocations: 0.7518 MB / 437.1 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.1017, allocations: 45.52 kB / 437.2 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.1018, allocations: 19.44 kB / 437.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1018, allocations: 0 / 437.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of Templates: time 0.005792/0.1076, allocations: 2.585 MB / 439.8 MB, free: 14.5 MB / 314.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)