Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005052/0.005051, allocations: 99.06 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.00113, allocations: 193.4 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08856/0.08856, allocations: 22.34 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 437 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 54.96 MB / 492 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.004379/0.1248, allocations: 4.024 MB / 496 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1265, allocations: 1.27 MB / 497.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1266, allocations: 4 kB / 497.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1268, allocations: 79.14 kB / 497.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.1272, allocations: 226 kB / 497.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1276, allocations: 283.6 kB / 497.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008081/0.1284, allocations: 1.095 MB / 499 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.129, allocations: 0.4886 MB / 499.5 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.1294, allocations: 422.8 kB / 499.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1299, allocations: 466.4 kB / 0.4886 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.13, allocations: 100 kB / 0.4887 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1302, allocations: 96 kB / 0.4888 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1303, allocations: 207.4 kB / 0.489 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.1307, allocations: 438.2 kB / 0.4894 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.1316, allocations: 1.012 MB / 0.4904 GB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1316, allocations: 0 / 0.4904 GB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1316, allocations: 0 / 0.4904 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1316, allocations: 4 kB / 0.4904 GB, free: 10.51 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001918/0.1335, allocations: 1.018 MB / 0.4914 GB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1336, allocations: 8.031 kB / 0.4914 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.1337, allocations: 80.41 kB / 0.4915 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1339, allocations: 245.9 kB / 0.4917 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.1339, allocations: 58.38 kB / 0.4918 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.134, allocations: 80.38 kB / 0.4918 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.1352, allocations: 0.7413 MB / 0.4926 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1353, allocations: 0 / 0.4926 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.1353, allocations: 32 kB / 0.4926 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.1354, allocations: 16 kB / 0.4926 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1366, allocations: 0.7496 MB / 0.4933 GB, free: 7.398 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.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 = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.1398, allocations: 2.23 MB / 0.4955 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.1419, allocations: 0.9861 MB / 0.4965 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.1424, allocations: 371.7 kB / 0.4968 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.326e-05/0.1425, allocations: 17 kB / 0.4969 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1426, allocations: 47.5 kB / 0.4969 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003146/0.1429, allocations: 104.2 kB / 0.497 GB, free: 3.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.134e-06/0.1429, allocations: 0 / 0.497 GB, free: 3.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.2398/0.3826, allocations: 4.181 MB / 0.5011 GB, free: 22.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3827, allocations: 62.12 kB / 0.5011 GB, free: 22.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3829, allocations: 217.7 kB / 0.5014 GB, free: 21.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.3831, allocations: 47.08 kB / 0.5014 GB, free: 21.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.3832, allocations: 226.1 kB / 0.5016 GB, free: 21.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.3834, allocations: 407.2 kB / 0.502 GB, free: 21.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3837, allocations: 163 kB / 0.5022 GB, free: 21.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.3837, allocations: 357.1 kB / 0.5025 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.3843, allocations: 327.7 kB / 0.5028 GB, free: 21.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.3849, allocations: 393.5 kB / 0.5032 GB, free: 21.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/0.3988, allocations: 2.847 MB / 0.506 GB, free: 21.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3988, allocations: 0 / 0.506 GB, free: 21.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004757/0.4036, allocations: 1.498 MB / 0.5074 GB, free: 20.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4037, allocations: 6.438 kB / 0.5074 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4037, allocations: 0 / 0.5074 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.4078, allocations: 0.765 MB / 0.5082 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/0.4131, allocations: 0.7356 MB / 0.5089 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.4291, allocations: 16.05 MB / 0.5246 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.4299, allocations: 26.64 kB / 0.5246 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/0.43, allocations: 40.48 kB / 0.5246 GB, free: 7.742 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005344/0.4305, allocations: 216.9 kB / 0.5248 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4307, allocations: 64.45 kB / 0.5249 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.4354, allocations: 1.653 MB / 0.5265 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.4355, allocations: 11.75 kB / 0.5265 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4355, allocations: 2.156 kB / 0.5265 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.4355, allocations: 5.859 kB / 0.5265 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/0.4413, allocations: 2.987 MB / 0.5295 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4413, allocations: 11.56 kB / 0.5295 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004732/0.4461, allocations: 0.6654 MB / 0.5301 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/0.449, allocations: 0.6022 MB / 0.5307 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.4491, allocations: 37.17 kB / 0.5307 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/0.4644, allocations: 15.74 MB / 0.5461 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/0.4644, allocations: 17.84 kB / 0.5461 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.4695, allocations: 2.27 MB / 0.5483 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.4697, allocations: 136.5 kB / 0.5485 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4698, allocations: 39.67 kB / 0.5485 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.4704, allocations: 31.78 kB / 0.5485 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.4708, allocations: 127.8 kB / 0.5487 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.4708, allocations: 47.48 kB / 0.5487 GB, free: 4.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.471, allocations: 163.5 kB / 0.5489 GB, free: 4.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.471, allocations: 7.938 kB / 0.5489 GB, free: 4.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001204/0.4722, allocations: 273.9 kB / 0.5491 GB, free: 4.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (V.Ma,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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002142/0.4724, allocations: 147.2 kB / 0.5493 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008127/0.4806, allocations: 2.032 MB / 0.5513 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.4806, allocations: 1.375 kB / 0.5513 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006238/0.4869, allocations: 1.649 MB / 0.5529 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4881, allocations: 200.9 kB / 0.5531 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.4913, allocations: 1.81 MB / 0.5548 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.4919, allocations: 0.9286 MB / 0.5557 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005247/0.4924, allocations: 97.19 kB / 0.5558 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.4926, allocations: 51.42 kB / 0.5559 GB, free: 15.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4926, allocations: 0 / 0.5559 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Templates: time 0.02606/0.5187, allocations: 16.31 MB / 0.5718 GB, free: 15.69 MB / 430.1 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_002.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & ./AES_AES.Devel_test_models.Test_air_circ_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)