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/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006723/0.006723, allocations: 98 kB / 15.73 MB, free: 6.059 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.001311/0.001312, allocations: 194.2 kB / 16.67 MB, free: 5.965 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.404/1.404, 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.0919/0.0919, allocations: 22.32 MB / 312.8 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.89 kB / 437.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.128, allocations: 54.95 MB / 492 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.004402/0.1324, allocations: 3.272 MB / 495.3 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1343, allocations: 1.068 MB / 496.3 MB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.1346, allocations: 4 kB / 496.3 MB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1348, allocations: 51.42 kB / 496.4 MB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.1353, allocations: 158.6 kB / 496.5 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.1358, allocations: 207.8 kB / 496.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.1366, allocations: 0.7715 MB / 497.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.137, allocations: 310.9 kB / 497.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.1374, allocations: 287.2 kB / 498.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.1379, allocations: 298.9 kB / 498.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.138, allocations: 68 kB / 498.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1381, allocations: 64 kB / 498.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1383, allocations: 143.6 kB / 498.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.1385, allocations: 290.8 kB / 498.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.1392, allocations: 0.685 MB / 499.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1392, allocations: 0 / 499.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1392, allocations: 0 / 499.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.1392, allocations: 0 / 499.6 MB, free: 13.05 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001515/0.1407, allocations: 0.7915 MB / 0.4887 GB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1408, allocations: 8.031 kB / 0.4887 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.1409, allocations: 56.61 kB / 0.4888 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1411, allocations: 226.7 kB / 0.489 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.1412, allocations: 45.69 kB / 0.489 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.1413, allocations: 52.38 kB / 0.4891 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/0.1422, allocations: 0.4945 MB / 0.4895 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1422, allocations: 4 kB / 0.4896 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.1422, allocations: 24 kB / 0.4896 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1423, allocations: 16 kB / 0.4896 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.1431, allocations: 488.9 kB / 0.4901 GB, free: 10.77 MB / 382.1 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.002588/0.1457, allocations: 1.66 MB / 0.4917 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.1466, allocations: 0.508 MB / 0.4922 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.147, allocations: 222.4 kB / 0.4924 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.1471, allocations: 8.562 kB / 0.4924 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1471, allocations: 43.06 kB / 0.4924 GB, free: 8.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 2.124e-06/0.1471, allocations: 0 / 0.4924 GB, free: 8.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00636/0.1535, allocations: 2.417 MB / 0.4948 GB, free: 5.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1536, allocations: 60.06 kB / 0.4949 GB, free: 5.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1538, allocations: 183.1 kB / 0.495 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.1539, allocations: 45.64 kB / 0.4951 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.154, allocations: 197.3 kB / 0.4953 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.1542, allocations: 269.6 kB / 0.4955 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.1544, allocations: 110.3 kB / 0.4956 GB, free: 4.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1546, allocations: 346.8 kB / 0.496 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.155, allocations: 209.6 kB / 0.4962 GB, free: 4.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.1554, allocations: 270.9 kB / 0.4964 GB, free: 3.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007561/0.163, allocations: 1.637 MB / 0.498 GB, free: 2.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.163, allocations: 0 / 0.498 GB, free: 2.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001766/0.1648, allocations: 0.7808 MB / 0.4988 GB, free: 1.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1648, allocations: 8 kB / 0.4988 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1648, allocations: 4 kB / 0.4988 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/0.1658, allocations: 182.4 kB / 0.499 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003625/0.1694, allocations: 0.5072 MB / 0.4995 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2388/0.4083, allocations: 10.61 MB / 0.5098 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.4087, allocations: 18.69 kB / 0.5098 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.4088, allocations: 21.27 kB / 0.5099 GB, free: 12.61 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 (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.0002865/0.4091, allocations: 185.5 kB / 0.51 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.4091, allocations: 36.22 kB / 0.5101 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.4111, allocations: 0.9374 MB / 0.511 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4111, allocations: 8.344 kB / 0.511 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4111, allocations: 3.984 kB / 0.511 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4111, allocations: 5.062 kB / 0.511 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.4141, allocations: 1.89 MB / 0.5128 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4141, allocations: 6.562 kB / 0.5128 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003139/0.4172, allocations: 473.5 kB / 0.5133 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.419, allocations: 335 kB / 0.5136 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.419, allocations: 20.3 kB / 0.5136 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.4256, allocations: 10.82 MB / 0.5242 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.4256, allocations: 7.094 kB / 0.5242 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.428, allocations: 1.406 MB / 0.5256 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.4281, allocations: 116.7 kB / 0.5257 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.4282, allocations: 24.16 kB / 0.5257 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.4286, allocations: 19.7 kB / 0.5257 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.4287, allocations: 91.48 kB / 0.5258 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.4288, allocations: 27.62 kB / 0.5258 GB, free: 1.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4289, allocations: 140.1 kB / 0.526 GB, free: 1.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4289, allocations: 0 / 0.526 GB, free: 1.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000768/0.4297, allocations: 170.3 kB / 0.5261 GB, free: 1.09 MB / 382.1 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.0001559/0.4299, allocations: 134.3 kB / 0.5263 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004589/0.4345, allocations: 1.357 MB / 0.5276 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4345, allocations: 1.562 kB / 0.5276 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003773/0.4383, allocations: 1.101 MB / 0.5287 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.4391, allocations: 133.8 kB / 0.5288 GB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.4412, allocations: 1.338 MB / 0.5301 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.4417, allocations: 0.8431 MB / 0.5309 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.442, allocations: 61.84 kB / 0.531 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4422, allocations: 37.14 kB / 0.531 GB, free: 14.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4422, allocations: 0 / 0.531 GB, free: 14.73 MB / 398.1 MB Notification: Performance of Templates: time 0.01759/0.4598, allocations: 8.868 MB / 0.5397 GB, free: 12.2 MB / 398.1 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)