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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 215.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1024/0.1024, allocations: 22.94 MB / 336.2 MB, free: 12.41 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 59.91 kB / 472.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.365, allocations: 59.29 MB / 0.519 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.004596/0.3696, allocations: 3.604 MB / 0.5225 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3718, allocations: 1.249 MB / 0.5238 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.372, allocations: 3.844 kB / 0.5238 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.3722, allocations: 78.14 kB / 0.5238 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.3727, allocations: 227.2 kB / 0.5241 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.3732, allocations: 288.2 kB / 0.5243 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3743, allocations: 1.091 MB / 0.5254 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.3751, allocations: 442.4 kB / 0.5258 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007395/0.3758, allocations: 443.2 kB / 0.5262 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007415/0.3766, allocations: 471 kB / 0.5267 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.3768, allocations: 100.9 kB / 0.5268 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.377, allocations: 100.1 kB / 0.5269 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3771, allocations: 212 kB / 0.5271 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.3776, allocations: 375.2 kB / 0.5274 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.3791, allocations: 1.035 MB / 0.5285 GB, free: 5.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3791, allocations: 0 / 0.5285 GB, free: 5.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3791, allocations: 0 / 0.5285 GB, free: 5.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.3791, allocations: 0 / 0.5285 GB, free: 5.008 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002502/0.3816, allocations: 0.9313 MB / 0.5294 GB, free: 4.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.3816, allocations: 10.52 kB / 0.5294 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.149e-05/0.3817, allocations: 30.12 kB / 0.5294 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3818, allocations: 130.2 kB / 0.5295 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.382, allocations: 76.31 kB / 0.5296 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3822, allocations: 183.3 kB / 0.5298 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.3823, allocations: 64.22 kB / 0.5298 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3824, allocations: 79.75 kB / 0.5299 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3838, allocations: 0.738 MB / 0.5306 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.3838, allocations: 0 / 0.5306 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.3839, allocations: 34.78 kB / 0.5307 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.3839, allocations: 19.34 kB / 0.5307 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.3854, allocations: 0.7636 MB / 0.5314 GB, free: 3.457 MB / 382.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.003586/0.389, allocations: 1.763 MB / 0.5331 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.3911, allocations: 0.9007 MB / 0.534 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/0.3916, allocations: 344.4 kB / 0.5344 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-05/0.3917, allocations: 13.92 kB / 0.5344 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3918, allocations: 48.78 kB / 0.5344 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005171/0.3923, allocations: 127.1 kB / 0.5345 GB, free: 1.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 4.068e-06/0.3923, allocations: 0 / 0.5345 GB, free: 1.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01497/0.4072, allocations: 4.009 MB / 0.5385 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.4073, allocations: 64.41 kB / 0.5385 GB, free: 456 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.4076, allocations: 216.5 kB / 0.5387 GB, free: 316 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4077, allocations: 46.64 kB / 0.5388 GB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4078, allocations: 225.8 kB / 0.539 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.4083, allocations: 413.3 kB / 0.5394 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.4086, allocations: 156.3 kB / 0.5395 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.4088, allocations: 362.7 kB / 0.5399 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.4095, allocations: 325.8 kB / 0.5402 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.4102, allocations: 400.2 kB / 0.5406 GB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/0.4265, allocations: 2.819 MB / 0.5433 GB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4266, allocations: 0 / 0.5433 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005471/0.432, allocations: 1.489 MB / 0.5448 GB, free: 12.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.4321, allocations: 6.031 kB / 0.5448 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4321, allocations: 4 kB / 0.5448 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004723/0.4368, allocations: 0.7598 MB / 0.5455 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006166/0.443, allocations: 0.731 MB / 0.5462 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.4644, allocations: 15.08 MB / 0.561 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.4655, allocations: 25.88 kB / 0.561 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/0.4656, allocations: 37.67 kB / 0.561 GB, free: 14.04 MB / 414.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.0005835/0.4661, allocations: 213.5 kB / 0.5612 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.4663, allocations: 55.83 kB / 0.5613 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.4708, allocations: 1.646 MB / 0.5629 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.4708, allocations: 11.78 kB / 0.5629 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.4708, allocations: 5.094 kB / 0.5629 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.4709, allocations: 9.062 kB / 0.5629 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006609/0.4775, allocations: 2.788 MB / 0.5656 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.4775, allocations: 12.41 kB / 0.5656 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005298/0.4828, allocations: 0.6689 MB / 0.5663 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/0.486, allocations: 0.5959 MB / 0.5669 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.4862, allocations: 41.08 kB / 0.5669 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.5046, allocations: 14.73 MB / 0.5813 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/0.5046, allocations: 15.94 kB / 0.5813 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005676/0.5103, allocations: 2.254 MB / 0.5835 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.5106, allocations: 59.62 kB / 0.5836 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5107, allocations: 44.05 kB / 0.5836 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.5114, allocations: 35.98 kB / 0.5836 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/0.5118, allocations: 136.5 kB / 0.5838 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.5119, allocations: 43.98 kB / 0.5838 GB, free: 8.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.5121, allocations: 168.3 kB / 0.584 GB, free: 7.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5121, allocations: 0 / 0.584 GB, free: 7.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001365/0.5135, allocations: 272 kB / 0.5842 GB, free: 7.598 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.005683/0.5191, allocations: 2.826 MB / 0.587 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008868/0.528, allocations: 1.967 MB / 0.5889 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.445e-05/0.528, allocations: 0 / 0.5889 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007462/0.5355, allocations: 1.615 MB / 0.5905 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.537, allocations: 201.3 kB / 0.5907 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.5541, allocations: 7.168 MB / 0.5977 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.5545, allocations: 331.4 kB / 0.598 GB, free: 8.887 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.555, allocations: 93.19 kB / 0.5981 GB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.5554, allocations: 223.3 kB / 0.5983 GB, free: 8.582 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5554, allocations: 0 / 0.5983 GB, free: 8.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/0.6221, allocations: 22.85 MB / 0.6206 GB, free: 2.094 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/15.72, allocations: 0 / 0.6206 GB, free: 2.094 MB / 462.1 MB " [Timeout remaining time 644] (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 --stepSize=0.02 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.053270865930244] Failed to read output from testmodel.py, exit status != 0: 15.912072741077282 15.927436977 15.545046171 Calling exit ...