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.004725/0.004726, allocations: 103.1 kB / 15.74 MB, free: 6.066 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.001288/0.001288, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.427/1.427, 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.1014/0.1014, allocations: 22.33 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 59.89 kB / 436.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09262, allocations: 54.96 MB / 491.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.004041/0.09669, allocations: 3.276 MB / 494.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.09815, allocations: 1.064 MB / 495.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.09826, allocations: 0 / 495.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.09838, allocations: 63.36 kB / 495.9 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.09872, allocations: 150.6 kB / 496.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.09902, allocations: 207.7 kB / 496.3 MB, free: 464 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.09973, allocations: 0.7755 MB / 497 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.1001, allocations: 311 kB / 497.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.1005, allocations: 287.2 kB / 497.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.1008, allocations: 294.9 kB / 497.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.379e-05/0.1009, allocations: 68 kB / 498 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1011, allocations: 64 kB / 498 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1012, allocations: 139.6 kB / 498.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.1015, allocations: 294.8 kB / 498.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.1021, allocations: 0.6888 MB / 499.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1022, allocations: 0 / 499.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1022, allocations: 0 / 499.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1022, allocations: 0 / 499.2 MB, free: 13.55 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.001482/0.1037, allocations: 0.7837 MB / 499.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1037, allocations: 15.97 kB / 500 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.1038, allocations: 102.7 kB / 0.4883 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/0.1039, allocations: 56.61 kB / 0.4884 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1041, allocations: 219.7 kB / 0.4886 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.1042, allocations: 45.69 kB / 0.4886 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.1042, allocations: 56.12 kB / 0.4887 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.105, allocations: 0.4946 MB / 0.4892 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1051, allocations: 0 / 0.4892 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.1051, allocations: 24 kB / 0.4892 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1051, allocations: 12 kB / 0.4892 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.106, allocations: 493 kB / 0.4897 GB, free: 11.17 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.002392/0.1084, allocations: 1.645 MB / 0.4913 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.1092, allocations: 0.5076 MB / 0.4918 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.1096, allocations: 222.5 kB / 0.492 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.1097, allocations: 12.55 kB / 0.492 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1097, allocations: 47.53 kB / 0.4921 GB, free: 8.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 1.653e-06/0.1097, allocations: 0 / 0.4921 GB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.006174/0.1159, allocations: 2.413 MB / 0.4944 GB, free: 6.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.1159, allocations: 60.06 kB / 0.4945 GB, free: 6.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1161, allocations: 187.1 kB / 0.4947 GB, free: 5.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.1162, allocations: 37.7 kB / 0.4947 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1163, allocations: 193.3 kB / 0.4949 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.1165, allocations: 277.6 kB / 0.4951 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.1167, allocations: 102.3 kB / 0.4952 GB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1168, allocations: 342.8 kB / 0.4956 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.1172, allocations: 217.5 kB / 0.4958 GB, free: 4.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.1177, allocations: 270.9 kB / 0.496 GB, free: 4.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008123/0.1258, allocations: 1.633 MB / 0.4976 GB, free: 2.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1258, allocations: 4 kB / 0.4976 GB, free: 2.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001799/0.1276, allocations: 0.7847 MB / 0.4984 GB, free: 1.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1276, allocations: 4 kB / 0.4984 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1277, allocations: 3.984 kB / 0.4984 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/0.1286, allocations: 190.3 kB / 0.4986 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/0.1324, allocations: 0.5034 MB / 0.4991 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1742/0.3066, allocations: 10.61 MB / 0.5094 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.307, allocations: 17.45 kB / 0.5095 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.3071, allocations: 23.06 kB / 0.5095 GB, free: 13.39 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.0002303/0.3073, allocations: 186.8 kB / 0.5097 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.3074, allocations: 42.86 kB / 0.5097 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.3093, allocations: 0.9327 MB / 0.5106 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3093, allocations: 7.812 kB / 0.5106 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3093, allocations: 5 kB / 0.5106 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3093, allocations: 9.984 kB / 0.5106 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.312, allocations: 1.89 MB / 0.5125 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.312, allocations: 7.406 kB / 0.5125 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/0.3152, allocations: 469.9 kB / 0.5129 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.317, allocations: 332.8 kB / 0.5132 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.317, allocations: 24.75 kB / 0.5133 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005977/0.323, allocations: 10.81 MB / 0.5238 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.323, allocations: 10.81 kB / 0.5238 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.3253, allocations: 1.395 MB / 0.5252 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3254, allocations: 125 kB / 0.5253 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.3254, allocations: 24.22 kB / 0.5253 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.3258, allocations: 26 kB / 0.5254 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.326, allocations: 86.61 kB / 0.5254 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.3261, allocations: 30.22 kB / 0.5255 GB, free: 1.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.667e-05/0.3262, allocations: 142.8 kB / 0.5256 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3262, allocations: 0 / 0.5256 GB, free: 1.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006822/0.3269, allocations: 166.5 kB / 0.5258 GB, free: 1.859 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.002449/0.3293, allocations: 1.967 MB / 0.5277 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.3338, allocations: 1.36 MB / 0.529 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3338, allocations: 1.312 kB / 0.529 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003731/0.3376, allocations: 1.102 MB / 0.5301 GB, free: 88 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.3383, allocations: 138.5 kB / 0.5302 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.3457, allocations: 4.783 MB / 0.5349 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.3461, allocations: 0.8395 MB / 0.5357 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.3464, allocations: 65.86 kB / 0.5358 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.3467, allocations: 160.7 kB / 0.5359 GB, free: 12.48 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3467, allocations: 1.859 kB / 0.5359 GB, free: 12.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6583/1.005, allocations: 12.77 MB / 0.5484 GB, free: 7.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.34, allocations: 18.91 kB / 0.5484 GB, free: 7.473 MB / 398.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)