Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",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.00533/0.00533, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001136/0.001136, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.316/1.316, 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.1957/0.1957, allocations: 22.34 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 65.53 kB / 436.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09389, allocations: 54.96 MB / 491.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.00361/0.09754, allocations: 3.551 MB / 495.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.09906, allocations: 1.103 MB / 496.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.09922, allocations: 4 kB / 496.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.09935, allocations: 71.28 kB / 496.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.09974, allocations: 178.4 kB / 496.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1, allocations: 207.7 kB / 496.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.1006, allocations: 0.8304 MB / 497.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.1011, allocations: 360.9 kB / 497.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.1014, allocations: 311.1 kB / 498.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.1017, allocations: 330.8 kB / 498.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.1018, allocations: 72 kB / 498.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.1019, allocations: 72 kB / 498.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.102, allocations: 151.6 kB / 498.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.1023, allocations: 330.6 kB / 499.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.1028, allocations: 0.7445 MB / 499.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1028, allocations: 0 / 499.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1028, allocations: 0 / 499.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1028, allocations: 0 / 499.8 MB, free: 9.387 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001421/0.1043, allocations: 0.8387 MB / 0.4889 GB, free: 8.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1043, allocations: 11.97 kB / 0.4889 GB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.1044, allocations: 110.7 kB / 0.489 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.1045, allocations: 56.28 kB / 0.4891 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1047, allocations: 227.7 kB / 0.4893 GB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.1047, allocations: 49.44 kB / 0.4894 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.1048, allocations: 67.98 kB / 0.4894 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.1057, allocations: 0.5492 MB / 0.49 GB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1057, allocations: 0 / 0.49 GB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.1058, allocations: 24 kB / 0.49 GB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1058, allocations: 19.94 kB / 0.49 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.1066, allocations: 0.497 MB / 0.4905 GB, free: 6.84 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.1093, allocations: 2.347 MB / 0.4928 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1105, allocations: 0.5838 MB / 0.4933 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.1109, allocations: 246.4 kB / 0.4936 GB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.111, allocations: 8.547 kB / 0.4936 GB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.111, allocations: 39.12 kB / 0.4936 GB, free: 3.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.134e-06/0.111, allocations: 0 / 0.4936 GB, free: 3.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.01238/0.1234, allocations: 3.945 MB / 0.4975 GB, free: 15.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1235, allocations: 60.41 kB / 0.4975 GB, free: 15.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1237, allocations: 143.2 kB / 0.4977 GB, free: 15.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.1237, allocations: 41.7 kB / 0.4977 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1239, allocations: 224.6 kB / 0.4979 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.1241, allocations: 303.5 kB / 0.4982 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.1243, allocations: 118.7 kB / 0.4983 GB, free: 14.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1245, allocations: 342.8 kB / 0.4987 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.1249, allocations: 269.9 kB / 0.4989 GB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.1254, allocations: 332.6 kB / 0.4992 GB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.1357, allocations: 2.174 MB / 0.5014 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1357, allocations: 0 / 0.5014 GB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002812/0.1385, allocations: 1.095 MB / 0.5024 GB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1386, allocations: 4 kB / 0.5024 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1386, allocations: 0 / 0.5024 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.1405, allocations: 404.7 kB / 0.5028 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.1436, allocations: 431.5 kB / 0.5032 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.1551, allocations: 14.14 MB / 0.517 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.1556, allocations: 20.02 kB / 0.5171 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.1557, allocations: 28 kB / 0.5171 GB, free: 9.832 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.156, allocations: 209.2 kB / 0.5173 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.1561, allocations: 31.62 kB / 0.5173 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.1594, allocations: 1.272 MB / 0.5186 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1595, allocations: 12 kB / 0.5186 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1595, allocations: 4 kB / 0.5186 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1595, allocations: 3.984 kB / 0.5186 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.1636, allocations: 1.99 MB / 0.5205 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1637, allocations: 7.938 kB / 0.5205 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/0.1664, allocations: 391.6 kB / 0.5209 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/0.1703, allocations: 0.6837 MB / 0.5216 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/0.1703, allocations: 23.98 kB / 0.5216 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.1836, allocations: 14.67 MB / 0.5359 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1837, allocations: 0 / 0.5359 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.1877, allocations: 1.695 MB / 0.5376 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1879, allocations: 108.6 kB / 0.5377 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.188, allocations: 16.06 kB / 0.5377 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.1884, allocations: 27.98 kB / 0.5377 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.1886, allocations: 88.75 kB / 0.5378 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.1887, allocations: 27.98 kB / 0.5378 GB, free: 3.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.576e-05/0.1888, allocations: 104.8 kB / 0.5379 GB, free: 3.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1888, allocations: 0 / 0.5379 GB, free: 3.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009152/0.1897, allocations: 216 kB / 0.5381 GB, free: 2.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004097/0.1938, allocations: 2.264 MB / 0.5403 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00489/0.1987, allocations: 1.817 MB / 0.5421 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1987, allocations: 0 / 0.5421 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004258/0.203, allocations: 1.56 MB / 0.5436 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.2037, allocations: 96.27 kB / 0.5437 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.2137, allocations: 5.378 MB / 0.549 GB, free: 7.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.2143, allocations: 0.8761 MB / 0.5498 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.2146, allocations: 64.08 kB / 0.5499 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.2149, allocations: 179.4 kB / 0.5501 GB, free: 6.195 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2149, allocations: 0 / 0.5501 GB, free: 6.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.2768, allocations: 15.36 MB / 0.5651 GB, free: 6.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.45, allocations: 11.38 kB / 0.5651 GB, free: 6.965 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)