Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.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.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit") translateModel(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit") [/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.1011/0.1011, allocations: 21.44 MB / 36.4 MB, free: 1.188 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.00102/0.00102, allocations: 185.1 kB / 42.62 MB, free: 3.996 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.515/1.515, allocations: 205.4 MB / 254.1 MB, free: 15.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.0008722/0.0008722, allocations: 93.19 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003219, allocations: 8.281 kB / 371.2 MB, free: 60.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09881, allocations: 52.95 MB / 424.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit): time 0.001753/0.1006, allocations: 1.66 MB / 425.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1026, allocations: 1.943 MB / 427.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.1028, allocations: 4 kB / 427.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.1033, allocations: 163.2 kB / 427.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.1038, allocations: 259.2 kB / 428.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1042, allocations: 319.4 kB / 428.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.1048, allocations: 0.7642 MB / 429.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.105, allocations: 161.6 kB / 429.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.1056, allocations: 0.5764 MB / 430 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.106, allocations: 442.3 kB / 430.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.106, allocations: 31.94 kB / 430.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1062, allocations: 51.91 kB / 430.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.1063, allocations: 255.2 kB / 430.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.1064, allocations: 129.3 kB / 430.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.1069, allocations: 0.7094 MB / 431.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1069, allocations: 0 / 431.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1069, allocations: 0 / 431.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1069, allocations: 0 / 431.6 MB, free: 7.582 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003465/0.1104, allocations: 1.464 MB / 433 MB, free: 6.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1104, allocations: 8.031 kB / 433.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1106, allocations: 90.88 kB / 433.1 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1126, allocations: 1.014 MB / 434.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1127, allocations: 28.66 kB / 434.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1128, allocations: 40 kB / 434.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.1133, allocations: 417.9 kB / 434.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1133, allocations: 0 / 434.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.1134, allocations: 12 kB / 434.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1134, allocations: 8 kB / 434.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006764/0.1141, allocations: 0.5179 MB / 435.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.1162, allocations: 1.591 MB / 436.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.1172, allocations: 0.7094 MB / 437.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1172, allocations: 11.89 kB / 437.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.1173, allocations: 38.56 kB / 437.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.463e-06/0.1173, allocations: 4 kB / 437.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001687/0.119, allocations: 1.026 MB / 438.5 MB, free: 424 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.119, allocations: 55.41 kB / 438.6 MB, free: 356 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.1214, allocations: 1.227 MB / 439.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.1215, allocations: 37.7 kB / 439.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.1217, allocations: 352.7 kB / 440.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.1219, allocations: 157.6 kB / 440.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.1219, allocations: 8 kB / 440.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.122, allocations: 330 kB / 440.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.1224, allocations: 232.9 kB / 440.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.1228, allocations: 248.4 kB / 441.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1232, allocations: 273.7 kB / 441.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1232, allocations: 0 / 441.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009485/0.1242, allocations: 0.6776 MB / 442.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1242, allocations: 4 kB / 442.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1242, allocations: 0 / 442.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1242, allocations: 0 / 442.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/0.125, allocations: 163.8 kB / 442.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.125, allocations: 0 / 442.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/0.1259, allocations: 183.4 kB / 442.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.126, allocations: 12 kB / 442.5 MB, free: 12.45 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: D.Fcs1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] D.Fcs2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (56): * Single equations (assignments): 56 * 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.000343/0.1263, allocations: 253.7 kB / 442.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1264, allocations: 78.97 kB / 442.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1267, allocations: 107.9 kB / 442.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1267, allocations: 4 kB / 442.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1267, allocations: 4 kB / 442.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1267, allocations: 3.984 kB / 442.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.1275, allocations: 0.7583 MB / 443.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1276, allocations: 0 / 443.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.128, allocations: 63.91 kB / 443.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/0.1283, allocations: 92.73 kB / 443.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.1284, allocations: 19.98 kB / 443.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.13, allocations: 1.716 MB / 445.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.13, allocations: 0 / 445.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.1315, allocations: 1.114 MB / 446.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.1318, allocations: 192 kB / 446.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.1319, allocations: 16 kB / 446.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/0.1328, allocations: 147.8 kB / 447 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.1329, allocations: 31.95 kB / 447 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.1329, allocations: 12 kB / 447.1 MB, free: 7.613 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0022/0.1351, allocations: 0.9516 MB / 448 MB, free: 6.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1351, allocations: 0 / 448 MB, free: 6.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005053/0.1356, allocations: 127.8 kB / 448.1 MB, free: 6.539 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Pdec.P11.x_scaled[1],Pdec.P12.x_scaled[1],Pdec.P21.x_scaled[1],Pdec.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],D.Fcs2.x_scaled[1],D.Fcs1.x_scaled[1],P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.1359, allocations: 127 kB / 448.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009338/0.1368, allocations: 0.5458 MB / 448.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1368, allocations: 0 / 448.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.1375, allocations: 414.4 kB / 449.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1381, allocations: 115.5 kB / 449.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.141, allocations: 1.865 MB / 451.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.1416, allocations: 1.05 MB / 452.2 MB, free: 2.355 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004405/0.1421, allocations: 149.1 kB / 452.4 MB, free: 2.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.1423, allocations: 55.44 kB / 452.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1423, allocations: 0 / 452.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of Templates: time 0.01444/0.1567, allocations: 7.756 MB / 460.2 MB, free: 10.39 MB / 330.7 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.makefile (rm -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.sim & ./AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1)