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.0007607/0.0007607, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008455/0.0008455, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2747/0.2747, allocations: 22.34 MB / 313.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004689, allocations: 12 kB / 381.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4406, allocations: 55.97 MB / 437.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.003091/0.4438, allocations: 3.457 MB / 441.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.4454, allocations: 1.227 MB / 442.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.4456, allocations: 6.656 kB / 442.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.4457, allocations: 61.44 kB / 442.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.4461, allocations: 196.5 kB / 442.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.4464, allocations: 188.1 kB / 443 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006859/0.4471, allocations: 0.9739 MB / 444 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.4476, allocations: 410.8 kB / 444.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.4479, allocations: 358.3 kB / 444.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.4483, allocations: 407.9 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.965e-05/0.4484, allocations: 50.03 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.4485, allocations: 48.25 kB / 445.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4486, allocations: 153.9 kB / 445.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.4487, allocations: 162.1 kB / 445.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.4493, allocations: 0.7382 MB / 446.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4493, allocations: 4 kB / 446.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4493, allocations: 0 / 446.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4493, allocations: 0 / 446.3 MB, free: 34.19 MB / 350.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.001688/0.451, allocations: 0.8734 MB / 447.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.451, allocations: 9.625 kB / 447.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.4512, allocations: 76.91 kB / 447.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.4513, allocations: 244.6 kB / 447.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.4514, allocations: 57.97 kB / 447.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.4515, allocations: 80.66 kB / 447.6 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4526, allocations: 0.7256 MB / 448.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4526, allocations: 3.953 kB / 448.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.4527, allocations: 33.81 kB / 448.4 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.4527, allocations: 24.72 kB / 448.4 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.4538, allocations: 0.742 MB / 449.2 MB, free: 32.66 MB / 350.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.002928/0.4567, allocations: 2.233 MB / 451.4 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.4586, allocations: 0.976 MB / 452.4 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.4591, allocations: 367.1 kB / 452.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.4592, allocations: 18.41 kB / 452.8 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4592, allocations: 44.88 kB / 452.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003275/0.4595, allocations: 102.1 kB / 452.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.705e-06/0.4595, allocations: 0 / 452.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.0126/0.4721, allocations: 4.187 MB / 457.1 MB, free: 29.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4722, allocations: 63.84 kB / 457.1 MB, free: 29.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.4725, allocations: 210.1 kB / 457.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.4726, allocations: 48.86 kB / 457.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4727, allocations: 222.4 kB / 457.6 MB, free: 28.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.473, allocations: 394 kB / 458 MB, free: 28.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.473, allocations: 19.69 kB / 458 MB, free: 28.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4731, allocations: 358 kB / 458.4 MB, free: 28.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.4737, allocations: 316.5 kB / 458.7 MB, free: 27.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.4743, allocations: 397.5 kB / 459.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.4749, allocations: 377.7 kB / 459.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.475, allocations: 0 / 459.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004629/0.4796, allocations: 1.5 MB / 460.9 MB, free: 27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.4796, allocations: 4.281 kB / 460.9 MB, free: 27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4797, allocations: 6.203 kB / 460.9 MB, free: 26.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.484, allocations: 0.7783 MB / 461.7 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005222/0.4893, allocations: 0.7285 MB / 462.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.5041, allocations: 14.88 MB / 477.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008718/0.5051, allocations: 47.53 kB / 477.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.5051, allocations: 33.89 kB / 477.4 MB, free: 13.23 MB / 350.1 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,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%) 1} * Non-linear torn systems: 1 {7 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004257/0.5056, allocations: 241.8 kB / 477.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.5057, allocations: 49.17 kB / 477.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.5098, allocations: 1.665 MB / 479.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.5098, allocations: 12.38 kB / 479.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5098, allocations: 1.438 kB / 479.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.5099, allocations: 10 kB / 479.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/0.5159, allocations: 2.972 MB / 482.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.516, allocations: 9.188 kB / 482.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004499/0.5205, allocations: 0.6687 MB / 483 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/0.5242, allocations: 0.7507 MB / 483.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.5244, allocations: 34.19 kB / 483.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.5383, allocations: 14.55 MB / 498.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/0.5383, allocations: 14.91 kB / 498.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.5438, allocations: 2.257 MB / 0.4889 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.5442, allocations: 145.1 kB / 0.489 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5443, allocations: 40.28 kB / 0.4891 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.545, allocations: 41.92 kB / 0.4891 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.5454, allocations: 140.6 kB / 0.4893 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/0.5455, allocations: 55.98 kB / 0.4893 GB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.5457, allocations: 168.1 kB / 0.4895 GB, free: 10.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5457, allocations: 0 / 0.4895 GB, free: 10.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001666/0.5474, allocations: 272 kB / 0.4897 GB, free: 10.61 MB / 366.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 (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 2 {7 19,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00038/0.5478, allocations: 143 kB / 0.4899 GB, free: 10.46 MB / 366.1 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.008792/0.5566, allocations: 1.99 MB / 0.4918 GB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.5566, allocations: 0 / 0.4918 GB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006248/0.5629, allocations: 1.647 MB / 0.4934 GB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.5643, allocations: 185.1 kB / 0.4936 GB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.5679, allocations: 2.132 MB / 0.4957 GB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.5685, allocations: 0.9248 MB / 0.4966 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006599/0.5692, allocations: 93.2 kB / 0.4967 GB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.5694, allocations: 47.42 kB / 0.4967 GB, free: 3.195 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5694, allocations: 4 kB / 0.4967 GB, free: 3.191 MB / 366.1 MB Notification: Performance of Templates: time 0.02567/0.5951, allocations: 14.58 MB / 0.5109 GB, free: 4.742 MB / 382.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)