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: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",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.007194/0.007194, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001695/0.001695, allocations: 197.6 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1949/0.1949, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65.81 kB / 436.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09542, allocations: 54.97 MB / 491.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.003409/0.09886, allocations: 3.283 MB / 494.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1005, allocations: 1.06 MB / 495.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1007, allocations: 0 / 495.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1008, allocations: 59.42 kB / 496 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.1012, allocations: 158.6 kB / 496.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1015, allocations: 199.7 kB / 496.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.102, allocations: 0.7716 MB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.1024, allocations: 314.9 kB / 497.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.1027, allocations: 287.2 kB / 497.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.103, allocations: 298.9 kB / 498 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.1031, allocations: 68 kB / 498 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-05/0.1032, allocations: 68 kB / 498.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.1033, allocations: 135.6 kB / 498.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1036, allocations: 298.8 kB / 498.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.1041, allocations: 0.6784 MB / 499.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1041, allocations: 0 / 499.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1041, allocations: 0 / 499.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1041, allocations: 0 / 499.2 MB, free: 9.996 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001396/0.1055, allocations: 0.7791 MB / 500 MB, free: 9.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1056, allocations: 12.03 kB / 500 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1057, allocations: 106.6 kB / 0.4884 GB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.1058, allocations: 56.28 kB / 0.4884 GB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1059, allocations: 215.7 kB / 0.4886 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.106, allocations: 41.69 kB / 0.4887 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.1061, allocations: 60.12 kB / 0.4887 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.1068, allocations: 498.4 kB / 0.4892 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1068, allocations: 3.938 kB / 0.4892 GB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.1069, allocations: 32 kB / 0.4892 GB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1069, allocations: 12 kB / 0.4892 GB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.1076, allocations: 485 kB / 0.4897 GB, free: 7.629 MB / 366.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.00233/0.11, allocations: 1.637 MB / 0.4913 GB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/0.1108, allocations: 0.5079 MB / 0.4918 GB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.1112, allocations: 226.5 kB / 0.492 GB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.1112, allocations: 12.55 kB / 0.492 GB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1113, allocations: 43.06 kB / 0.4921 GB, free: 5.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=68): time 1.973e-06/0.1113, allocations: 0 / 0.4921 GB, free: 5.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.005998/0.1173, allocations: 2.416 MB / 0.4944 GB, free: 2.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1173, allocations: 60.06 kB / 0.4945 GB, free: 2.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1175, allocations: 175.2 kB / 0.4947 GB, free: 2.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.1176, allocations: 41.7 kB / 0.4947 GB, free: 2.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.1177, allocations: 185 kB / 0.4949 GB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.1178, allocations: 264.1 kB / 0.4951 GB, free: 1.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.118, allocations: 106.3 kB / 0.4952 GB, free: 1.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1181, allocations: 346.8 kB / 0.4956 GB, free: 1.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.1185, allocations: 213.6 kB / 0.4958 GB, free: 1.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1189, allocations: 266.9 kB / 0.496 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/0.1268, allocations: 1.645 MB / 0.4976 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1269, allocations: 4 kB / 0.4976 GB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001854/0.1287, allocations: 0.7806 MB / 0.4984 GB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.1288, allocations: 4 kB / 0.4984 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1288, allocations: 3.938 kB / 0.4984 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/0.1298, allocations: 190.4 kB / 0.4986 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/0.1337, allocations: 0.5033 MB / 0.4991 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/0.1431, allocations: 10.62 MB / 0.5094 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.1437, allocations: 20.02 kB / 0.5095 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.1438, allocations: 20 kB / 0.5095 GB, free: 2.078 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.0003979/0.1442, allocations: 199.4 kB / 0.5097 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.1443, allocations: 31.62 kB / 0.5097 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.1464, allocations: 0.9357 MB / 0.5106 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.1464, allocations: 11.94 kB / 0.5106 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1464, allocations: 4 kB / 0.5106 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.1465, allocations: 3.984 kB / 0.5106 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.1499, allocations: 1.891 MB / 0.5125 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.15, allocations: 4 kB / 0.5125 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/0.1534, allocations: 472.1 kB / 0.5129 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.1553, allocations: 330.2 kB / 0.5132 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.1554, allocations: 27.98 kB / 0.5133 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009258/0.1647, allocations: 10.81 MB / 0.5238 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.1647, allocations: 11.88 kB / 0.5238 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.1675, allocations: 1.401 MB / 0.5252 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1676, allocations: 108.7 kB / 0.5253 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.1677, allocations: 28.03 kB / 0.5253 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.1682, allocations: 20 kB / 0.5254 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.1684, allocations: 88.28 kB / 0.5254 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.1685, allocations: 31.92 kB / 0.5255 GB, free: 404 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1686, allocations: 148 kB / 0.5256 GB, free: 252 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 0.5256 GB, free: 252 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.1695, allocations: 175.9 kB / 0.5258 GB, free: 76 kB / 398.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.002867/0.1723, allocations: 1.95 MB / 0.5277 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004916/0.1773, allocations: 1.358 MB / 0.529 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1773, allocations: 0 / 0.529 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004066/0.1814, allocations: 1.106 MB / 0.5301 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.1823, allocations: 136.4 kB / 0.5302 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/0.1898, allocations: 4.772 MB / 0.5349 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1902, allocations: 0.8403 MB / 0.5357 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.1906, allocations: 68.23 kB / 0.5358 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.1909, allocations: 155.4 kB / 0.5359 GB, free: 5.215 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1909, allocations: 0 / 0.5359 GB, free: 5.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/0.2418, allocations: 13.07 MB / 0.5487 GB, free: 8.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.87, allocations: 0 / 0.5487 GB, free: 8.285 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_001_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_001.fmu > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)