Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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.Devel_test_models.Test_air_circ_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") translateModel(AES.Devel_test_models.Test_air_circ_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") [/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.09526/0.09526, allocations: 21.61 MB / 36.56 MB, free: 1.125 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.001196/0.001196, allocations: 182.4 kB / 42.82 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.263/1.263, allocations: 223.2 MB / 272.1 MB, free: 1.742 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.0008483/0.0008479, allocations: 102.2 kB / 328.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 397 MB, free: 46.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07891, allocations: 55.82 MB / 452.9 MB, free: 6.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.3607, allocations: 82.72 MB / 0.523 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.3609, allocations: 71.86 kB / 0.5231 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.3779, allocations: 8.005 MB / 0.5309 GB, free: 10.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.378, allocations: 0 / 0.5309 GB, free: 10.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.378, allocations: 11.69 kB / 0.5309 GB, free: 10.52 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001383/0.3794, allocations: 0.7328 MB / 0.5316 GB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3794, allocations: 7.75 kB / 0.5317 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3795, allocations: 54.81 kB / 0.5317 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3797, allocations: 229.6 kB / 0.5319 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.3798, allocations: 46.12 kB / 0.532 GB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.3799, allocations: 67.33 kB / 0.532 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.3807, allocations: 0.609 MB / 0.5326 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3808, allocations: 0 / 0.5326 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.3808, allocations: 24.19 kB / 0.5326 GB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3808, allocations: 19.14 kB / 0.5327 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.3817, allocations: 0.6177 MB / 0.5333 GB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.3842, allocations: 1.689 MB / 0.5349 GB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3854, allocations: 0.6857 MB / 0.5356 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.3854, allocations: 23.08 kB / 0.5356 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3855, allocations: 38.47 kB / 0.5356 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005692/0.386, allocations: 143 kB / 0.5358 GB, free: 8.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 1.824e-06/0.386, allocations: 0 / 0.5358 GB, free: 8.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=90): time 0.006127/0.3922, allocations: 2.841 MB / 0.5386 GB, free: 7.551 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.3922, allocations: 60.16 kB / 0.5386 GB, free: 7.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3923, allocations: 179 kB / 0.5388 GB, free: 7.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.3924, allocations: 41.33 kB / 0.5388 GB, free: 7.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.3925, allocations: 191 kB / 0.539 GB, free: 7.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.3926, allocations: 299.6 kB / 0.5393 GB, free: 6.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.3926, allocations: 15.31 kB / 0.5393 GB, free: 6.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.3927, allocations: 361.4 kB / 0.5397 GB, free: 6.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.3931, allocations: 270.7 kB / 0.5399 GB, free: 6.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.3936, allocations: 338.7 kB / 0.5402 GB, free: 6.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.394, allocations: 323.2 kB / 0.5405 GB, free: 6.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.394, allocations: 0 / 0.5405 GB, free: 6.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00184/0.3959, allocations: 0.9381 MB / 0.5415 GB, free: 6.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3959, allocations: 5.719 kB / 0.5415 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3959, allocations: 0 / 0.5415 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.3969, allocations: 214.5 kB / 0.5417 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003906/0.4008, allocations: 0.537 MB / 0.5422 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007486/0.4083, allocations: 10.16 MB / 0.5521 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.409, allocations: 40.11 kB / 0.5522 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.4091, allocations: 33.5 kB / 0.5522 GB, free: 12.38 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 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, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.4095, allocations: 214.7 kB / 0.5524 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.4095, allocations: 38.81 kB / 0.5524 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.412, allocations: 1.177 MB / 0.5536 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.412, allocations: 7.656 kB / 0.5536 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.4121, allocations: 11.81 kB / 0.5536 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4121, allocations: 4.078 kB / 0.5536 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.4154, allocations: 2.15 MB / 0.5557 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4154, allocations: 7.828 kB / 0.5557 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/0.4189, allocations: 0.4923 MB / 0.5562 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.421, allocations: 364.7 kB / 0.5565 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.4211, allocations: 28.55 kB / 0.5566 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009064/0.4302, allocations: 10.38 MB / 0.5667 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4302, allocations: 8 kB / 0.5667 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.4333, allocations: 2.01 MB / 0.5687 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4335, allocations: 124.6 kB / 0.5688 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.4335, allocations: 22.69 kB / 0.5688 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.4341, allocations: 38.16 kB / 0.5688 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.4343, allocations: 98.95 kB / 0.5689 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.4343, allocations: 31.73 kB / 0.569 GB, free: 14.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.4345, allocations: 159.9 kB / 0.5691 GB, free: 14.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4345, allocations: 0 / 0.5691 GB, free: 14.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008192/0.4353, allocations: 199.4 kB / 0.5693 GB, free: 14.03 MB / 394.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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.4355, allocations: 144.9 kB / 0.5694 GB, free: 13.89 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004092/0.4396, allocations: 1.387 MB / 0.5708 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4396, allocations: 0 / 0.5708 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003342/0.443, allocations: 1.076 MB / 0.5719 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.4436, allocations: 141 kB / 0.572 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.4462, allocations: 1.807 MB / 0.5738 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.4468, allocations: 0.8848 MB / 0.5746 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.4473, allocations: 88.5 kB / 0.5747 GB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.4475, allocations: 55.41 kB / 0.5748 GB, free: 8.91 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4475, allocations: 0 / 0.5748 GB, free: 8.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01512/0.4627, allocations: 10.1 MB / 0.5846 GB, free: 14.93 MB / 410.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_003.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & ./AES_AES.Devel_test_models.Test_air_circ_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)