Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_001.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_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") translateModel(AES.Devel_test_models.Test_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") [/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.09357/0.09357, allocations: 21.6 MB / 37.4 MB, free: 0.7656 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.001062/0.001062, allocations: 188.5 kB / 43.64 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.304/1.304, allocations: 205.1 MB / 254.8 MB, free: 14.3 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.001156/0.001156, allocations: 104 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 51.62 kB / 372.3 MB, free: 59.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09284, allocations: 51.98 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.004252/0.09714, allocations: 3.413 MB / 427.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.09877, allocations: 1.029 MB / 428.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.0989, allocations: 0 / 428.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.09901, allocations: 39.67 kB / 428.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.09937, allocations: 146.8 kB / 428.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.09961, allocations: 175.8 kB / 429.1 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.1, allocations: 0.7324 MB / 429.8 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.1004, allocations: 254.4 kB / 430.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.1006, allocations: 251.2 kB / 430.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.1009, allocations: 278.9 kB / 430.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.101, allocations: 32 kB / 430.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.101, allocations: 32 kB / 430.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.1011, allocations: 103.6 kB / 430.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1013, allocations: 270.8 kB / 431 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.1017, allocations: 0.6386 MB / 431.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1017, allocations: 0 / 431.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1017, allocations: 0 / 431.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1017, allocations: 0 / 431.7 MB, free: 7.102 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001334/0.1031, allocations: 0.7959 MB / 432.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1031, allocations: 8.031 kB / 432.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.1032, allocations: 52.38 kB / 432.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1034, allocations: 215.8 kB / 432.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.1034, allocations: 45.69 kB / 432.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.1035, allocations: 56.38 kB / 432.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.1041, allocations: 498.4 kB / 433.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1041, allocations: 3.984 kB / 433.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.1042, allocations: 23.94 kB / 433.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1042, allocations: 16 kB / 433.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.1048, allocations: 489 kB / 433.8 MB, free: 4.836 MB / 298.7 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.1069, allocations: 1.641 MB / 435.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.1075, allocations: 0.504 MB / 436 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.1078, allocations: 226.5 kB / 436.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.1079, allocations: 8.547 kB / 436.2 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1079, allocations: 47.06 kB / 436.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 1.522e-06/0.1079, allocations: 0 / 436.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.00533/0.1133, allocations: 2.405 MB / 438.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1133, allocations: 60.06 kB / 438.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1135, allocations: 186.3 kB / 438.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.1135, allocations: 41.64 kB / 439 MB, free: 15.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1136, allocations: 189 kB / 439.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1138, allocations: 264.1 kB / 439.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.114, allocations: 102.3 kB / 439.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1141, allocations: 346.8 kB / 439.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.1145, allocations: 213.6 kB / 440 MB, free: 14.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.1149, allocations: 270.9 kB / 440.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/0.1226, allocations: 1.641 MB / 441.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1226, allocations: 0 / 441.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001643/0.1243, allocations: 0.7767 MB / 442.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1243, allocations: 6.5 kB / 442.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1243, allocations: 0 / 442.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009204/0.1252, allocations: 198.3 kB / 442.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/0.1288, allocations: 0.5033 MB / 443.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007955/0.1368, allocations: 9.832 MB / 453.3 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.1373, allocations: 43.92 kB / 453.3 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.1373, allocations: 27.92 kB / 453.3 MB, free: 84 kB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003969/0.1377, allocations: 205.5 kB / 453.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.1378, allocations: 35.56 kB / 453.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.14, allocations: 0.9473 MB / 454.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.14, allocations: 8 kB / 454.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.14, allocations: 0 / 454.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.14, allocations: 3.984 kB / 454.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.1431, allocations: 1.883 MB / 456.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.1431, allocations: 8.812 kB / 456.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/0.1464, allocations: 467.4 kB / 456.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.1483, allocations: 338 kB / 457.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.1483, allocations: 19.98 kB / 457.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007765/0.1561, allocations: 10.03 MB / 467.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.1561, allocations: 11.98 kB / 467.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/0.1768, allocations: 11.32 MB / 478.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.1769, allocations: 116.8 kB / 478.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.177, allocations: 24 kB / 478.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.1775, allocations: 39.83 kB / 478.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.1777, allocations: 88.33 kB / 478.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.1778, allocations: 32 kB / 478.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1779, allocations: 148 kB / 479 MB, free: 4.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1779, allocations: 0 / 479 MB, free: 4.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001062/0.179, allocations: 260 kB / 479.3 MB, free: 4.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.T) * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.1791, allocations: 127 kB / 479.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004575/0.1837, allocations: 1.346 MB / 480.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1837, allocations: 4 kB / 480.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.1876, allocations: 1.094 MB / 481.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008165/0.1885, allocations: 120.3 kB / 482 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.1924, allocations: 2.479 MB / 484.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1929, allocations: 0.8641 MB / 485.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004611/0.1933, allocations: 68.23 kB / 485.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.1935, allocations: 39.44 kB / 485.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1935, allocations: 0 / 485.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.0167/0.2102, allocations: 11.55 MB / 497 MB, free: 2.352 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_001.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & ./AES_AES.Devel_test_models.Test_air_circ_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)