Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 214.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1157/0.1157, allocations: 24.12 MB / 337.3 MB, free: 11.48 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") translateModel(AES.Devel_test_models.Test_air_circ_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_004") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 67.89 kB / 474.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2847, allocations: 59.6 MB / 0.5217 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003751/0.2885, allocations: 3.596 MB / 0.5252 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2899, allocations: 1.138 MB / 0.5263 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.29, allocations: 3.531 kB / 0.5263 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.2901, allocations: 67.19 kB / 0.5263 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.2905, allocations: 181.8 kB / 0.5265 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.2908, allocations: 206.4 kB / 0.5267 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006352/0.2914, allocations: 0.8335 MB / 0.5275 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.2918, allocations: 312.3 kB / 0.5278 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.2921, allocations: 311.5 kB / 0.5281 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.2925, allocations: 328.9 kB / 0.5284 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.2926, allocations: 76.09 kB / 0.5285 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2927, allocations: 72.66 kB / 0.5286 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.2928, allocations: 150.3 kB / 0.5287 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2931, allocations: 333.5 kB / 0.529 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.2937, allocations: 0.7478 MB / 0.5298 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2937, allocations: 0.7031 kB / 0.5298 GB, free: 5.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2937, allocations: 1.062 kB / 0.5298 GB, free: 5.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.2937, allocations: 0 / 0.5298 GB, free: 5.312 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001509/0.2952, allocations: 0.7721 MB / 0.5305 GB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2953, allocations: 9.859 kB / 0.5305 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.2954, allocations: 62.41 kB / 0.5306 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2955, allocations: 173.3 kB / 0.5308 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.2956, allocations: 51.91 kB / 0.5308 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.2957, allocations: 69.86 kB / 0.5309 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.2966, allocations: 0.5397 MB / 0.5314 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2967, allocations: 0 / 0.5314 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.2967, allocations: 29.91 kB / 0.5314 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2967, allocations: 15.7 kB / 0.5315 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.2976, allocations: 0.4976 MB / 0.5319 GB, free: 4.109 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.3003, allocations: 2.287 MB / 0.5342 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3015, allocations: 0.5529 MB / 0.5347 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.3019, allocations: 219.7 kB / 0.5349 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.3019, allocations: 14.73 kB / 0.5349 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.302, allocations: 39.69 kB / 0.535 GB, free: 1.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 1.803e-06/0.302, allocations: 0 / 0.535 GB, free: 1.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01257/0.3145, allocations: 3.567 MB / 0.5385 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3146, allocations: 68.94 kB / 0.5385 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3147, allocations: 141 kB / 0.5387 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.3148, allocations: 40.64 kB / 0.5387 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3148, allocations: 223 kB / 0.5389 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.315, allocations: 319 kB / 0.5392 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.3153, allocations: 116.7 kB / 0.5393 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3154, allocations: 353.5 kB / 0.5397 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.316, allocations: 273.4 kB / 0.5399 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.3166, allocations: 334.3 kB / 0.5402 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.328, allocations: 2.167 MB / 0.5424 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.328, allocations: 1.594 kB / 0.5424 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003151/0.3311, allocations: 1.085 MB / 0.5434 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3311, allocations: 5.5 kB / 0.5434 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3312, allocations: 1.375 kB / 0.5434 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.3333, allocations: 407.4 kB / 0.5438 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.3367, allocations: 432.1 kB / 0.5442 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.3508, allocations: 13.23 MB / 0.5571 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.3513, allocations: 18.53 kB / 0.5572 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.3514, allocations: 23.45 kB / 0.5572 GB, free: 0.6445 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003883/0.3518, allocations: 212.1 kB / 0.5574 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/0.3519, allocations: 33.69 kB / 0.5574 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.3558, allocations: 1.252 MB / 0.5586 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3558, allocations: 8.875 kB / 0.5587 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3558, allocations: 2.594 kB / 0.5587 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3558, allocations: 3.984 kB / 0.5587 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/0.3604, allocations: 1.979 MB / 0.5606 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3604, allocations: 1.031 kB / 0.5606 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/0.3634, allocations: 380.8 kB / 0.561 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004381/0.3678, allocations: 0.6867 MB / 0.5616 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.3679, allocations: 22.52 kB / 0.5616 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.3831, allocations: 13.77 MB / 0.5751 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3831, allocations: 1.375 kB / 0.5751 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.3874, allocations: 1.688 MB / 0.5767 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.3875, allocations: 32.23 kB / 0.5768 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.3876, allocations: 17.47 kB / 0.5768 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.3881, allocations: 19.22 kB / 0.5768 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.3883, allocations: 98.33 kB / 0.5769 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.3883, allocations: 25.64 kB / 0.5769 GB, free: 15.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.01e-05/0.3884, allocations: 117.8 kB / 0.577 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3884, allocations: 1.188 kB / 0.577 GB, free: 15.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009452/0.3894, allocations: 215 kB / 0.5772 GB, free: 15.13 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.3896, allocations: 121.2 kB / 0.5774 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00547/0.395, allocations: 1.748 MB / 0.5791 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.395, allocations: 0 / 0.5791 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004835/0.3999, allocations: 1.517 MB / 0.5805 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.4005, allocations: 95.58 kB / 0.5806 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.4033, allocations: 1.571 MB / 0.5822 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.4039, allocations: 0.8761 MB / 0.583 GB, free: 9.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.4041, allocations: 39.44 kB / 0.5831 GB, free: 9.551 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4041, allocations: 0 / 0.5831 GB, free: 9.551 MB / 430.1 MB Notification: Performance of Templates: time 0.03075/0.4348, allocations: 26.07 MB / 0.6085 GB, free: 15.45 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_air_circ_004.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & ./AES_AES.Devel_test_models.Test_air_circ_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.154902030015364] Failed to read output from testmodel.py, exit status != 0: 0.4437407120130956 0.458901064 0.161953918 Calling exit ...