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: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005175/0.005175, allocations: 103 kB / 15.73 MB, free: 6.051 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.001412/0.001412, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2169/0.2169, allocations: 22.35 MB / 312.9 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.62 kB / 436.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 54.97 MB / 491.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.004153/0.1063, allocations: 4.012 MB / 495.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1083, allocations: 1.282 MB / 496.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.1086, allocations: 4 kB / 496.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1087, allocations: 79.14 kB / 496.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.1093, allocations: 218 kB / 497.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1098, allocations: 295.5 kB / 497.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.1107, allocations: 1.091 MB / 498.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.1113, allocations: 0.4885 MB / 499 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.1117, allocations: 419 kB / 499.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.1122, allocations: 466.3 kB / 499.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1123, allocations: 100 kB / 500 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1124, allocations: 96 kB / 0.4884 GB, free: 9.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1126, allocations: 207.4 kB / 0.4886 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.1129, allocations: 438.2 kB / 0.489 GB, free: 8.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.1137, allocations: 1.017 MB / 0.49 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1137, allocations: 3.938 kB / 0.49 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1137, allocations: 0 / 0.49 GB, free: 7.496 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1137, allocations: 4 kB / 0.49 GB, free: 7.492 MB / 366.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.001969/0.1157, allocations: 0.9992 MB / 0.4909 GB, free: 6.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1157, allocations: 8.031 kB / 0.491 GB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.1159, allocations: 131.3 kB / 0.4911 GB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.116, allocations: 76.08 kB / 0.4912 GB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1162, allocations: 241.2 kB / 0.4914 GB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.1162, allocations: 58.38 kB / 0.4914 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1164, allocations: 84.12 kB / 0.4915 GB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.1175, allocations: 0.7297 MB / 0.4922 GB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1175, allocations: 0 / 0.4922 GB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.1176, allocations: 32 kB / 0.4923 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1176, allocations: 20 kB / 0.4923 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.1189, allocations: 0.7496 MB / 0.493 GB, free: 4.277 MB / 366.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.003222/0.1222, allocations: 2.235 MB / 0.4952 GB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.1242, allocations: 0.9885 MB / 0.4962 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.1248, allocations: 371.7 kB / 0.4965 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-05/0.1249, allocations: 16.98 kB / 0.4965 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1249, allocations: 47.55 kB / 0.4966 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003609/0.1253, allocations: 93.66 kB / 0.4967 GB, free: 436 kB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 2.464e-06/0.1253, allocations: 0 / 0.4967 GB, free: 436 kB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01388/0.1392, allocations: 4.19 MB / 0.5008 GB, free: 12.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1393, allocations: 64.41 kB / 0.5008 GB, free: 12.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1395, allocations: 215.9 kB / 0.501 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.1396, allocations: 45.7 kB / 0.5011 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1397, allocations: 221.1 kB / 0.5013 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.14, allocations: 390.2 kB / 0.5016 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1402, allocations: 150.7 kB / 0.5018 GB, free: 11.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1404, allocations: 358.8 kB / 0.5021 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.141, allocations: 329.9 kB / 0.5025 GB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.1416, allocations: 396.5 kB / 0.5028 GB, free: 9.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/0.156, allocations: 2.841 MB / 0.5056 GB, free: 7.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1561, allocations: 4 kB / 0.5056 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004703/0.1608, allocations: 1.494 MB / 0.5071 GB, free: 5.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1608, allocations: 4 kB / 0.5071 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1608, allocations: 3.938 kB / 0.5071 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/0.165, allocations: 0.7734 MB / 0.5078 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005441/0.1705, allocations: 0.7257 MB / 0.5085 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.1878, allocations: 16.06 MB / 0.5242 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.1885, allocations: 24.03 kB / 0.5242 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.1886, allocations: 35.98 kB / 0.5243 GB, free: 2.695 MB / 398.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.0003831/0.189, allocations: 213.7 kB / 0.5245 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1891, allocations: 47.44 kB / 0.5245 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.1931, allocations: 1.667 MB / 0.5262 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1931, allocations: 12 kB / 0.5262 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1931, allocations: 0 / 0.5262 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1932, allocations: 3.984 kB / 0.5262 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/0.1986, allocations: 2.967 MB / 0.5291 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.1986, allocations: 8 kB / 0.5291 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004813/0.2034, allocations: 0.6752 MB / 0.5297 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00274/0.2062, allocations: 0.5994 MB / 0.5303 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.2064, allocations: 35.98 kB / 0.5304 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/0.2213, allocations: 15.73 MB / 0.5457 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.2214, allocations: 15.94 kB / 0.5457 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004605/0.226, allocations: 2.265 MB / 0.5479 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.2261, allocations: 136.5 kB / 0.5481 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/0.2262, allocations: 39.92 kB / 0.5481 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.2269, allocations: 32 kB / 0.5481 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.2272, allocations: 132.6 kB / 0.5483 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.2273, allocations: 47.98 kB / 0.5483 GB, free: 8.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.2274, allocations: 172.1 kB / 0.5485 GB, free: 8.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2274, allocations: 0 / 0.5485 GB, free: 8.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00116/0.2286, allocations: 272 kB / 0.5487 GB, free: 7.949 MB / 430.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.004754/0.2334, allocations: 2.841 MB / 0.5515 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007287/0.2407, allocations: 2.021 MB / 0.5535 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.2407, allocations: 4 kB / 0.5535 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006207/0.2469, allocations: 1.646 MB / 0.5551 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.2481, allocations: 197.2 kB / 0.5553 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.2631, allocations: 7.189 MB / 0.5623 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.2637, allocations: 0.9209 MB / 0.5632 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004631/0.2642, allocations: 89.2 kB / 0.5633 GB, free: 8.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.2645, allocations: 223.4 kB / 0.5635 GB, free: 8.215 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2646, allocations: 0 / 0.5635 GB, free: 8.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05303/0.3176, allocations: 21.55 MB / 0.5846 GB, free: 2.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.39, allocations: 3.938 kB / 0.5846 GB, free: 2.836 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_002_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)