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.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.001461/0.001461, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001621/0.001621, allocations: 217.7 kB / 23.04 MB, free: 5.074 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.1037/0.1037, allocations: 22.93 MB / 336.2 MB, free: 12.66 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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="cs",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="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.00203/0.00203, allocations: 71.88 kB / 472.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3681, allocations: 59.27 MB / 0.5191 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.003602/0.3717, allocations: 3.326 MB / 0.5224 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3732, allocations: 1.093 MB / 0.5234 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3733, allocations: 2.406 kB / 0.5234 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3735, allocations: 62.75 kB / 0.5235 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.3738, allocations: 161.8 kB / 0.5236 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3741, allocations: 205.9 kB / 0.5238 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.3747, allocations: 0.7614 MB / 0.5246 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.3751, allocations: 272.9 kB / 0.5248 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.3755, allocations: 289.2 kB / 0.5251 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.3758, allocations: 298.6 kB / 0.5254 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.3759, allocations: 66.28 kB / 0.5255 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.376, allocations: 64.69 kB / 0.5255 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.3761, allocations: 143.9 kB / 0.5257 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.3763, allocations: 306.1 kB / 0.5259 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.3768, allocations: 0.6713 MB / 0.5266 GB, free: 5.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3768, allocations: 0 / 0.5266 GB, free: 5.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3768, allocations: 0 / 0.5266 GB, free: 5.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3769, allocations: 1.125 kB / 0.5266 GB, free: 5.988 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.001373/0.3782, allocations: 0.7221 MB / 0.5273 GB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3783, allocations: 8.562 kB / 0.5273 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.645e-05/0.3783, allocations: 15.56 kB / 0.5273 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.374e-05/0.3784, allocations: 100.2 kB / 0.5274 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.3785, allocations: 54.39 kB / 0.5275 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3786, allocations: 172 kB / 0.5276 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.3787, allocations: 40.88 kB / 0.5277 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.3788, allocations: 65.28 kB / 0.5277 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.3795, allocations: 497.5 kB / 0.5282 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3796, allocations: 5.031 kB / 0.5282 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3796, allocations: 24.44 kB / 0.5282 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3796, allocations: 14.28 kB / 0.5283 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/0.3804, allocations: 489.3 kB / 0.5287 GB, free: 4.785 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.002399/0.3828, allocations: 1.596 MB / 0.5303 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.3837, allocations: 489.7 kB / 0.5308 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.384, allocations: 201.7 kB / 0.5309 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.3841, allocations: 12.23 kB / 0.531 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3841, allocations: 42.44 kB / 0.531 GB, free: 3.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 3.096e-06/0.3841, allocations: 0 / 0.531 GB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.006779/0.3909, allocations: 2.196 MB / 0.5331 GB, free: 2.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3909, allocations: 61.03 kB / 0.5332 GB, free: 2.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3911, allocations: 184.2 kB / 0.5334 GB, free: 2.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.3912, allocations: 36.05 kB / 0.5334 GB, free: 2.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3913, allocations: 192.2 kB / 0.5336 GB, free: 2.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.3915, allocations: 278.8 kB / 0.5339 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.3917, allocations: 101.5 kB / 0.534 GB, free: 1.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3918, allocations: 351.2 kB / 0.5343 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.3921, allocations: 210.4 kB / 0.5345 GB, free: 1.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.3925, allocations: 268.4 kB / 0.5348 GB, free: 1.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008057/0.4006, allocations: 1.64 MB / 0.5364 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4006, allocations: 0 / 0.5364 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001795/0.4024, allocations: 0.7798 MB / 0.5371 GB, free: 380 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4024, allocations: 6.422 kB / 0.5371 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4024, allocations: 0.9375 kB / 0.5371 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/0.4034, allocations: 187.1 kB / 0.5373 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.4072, allocations: 0.501 MB / 0.5378 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009537/0.4167, allocations: 9.914 MB / 0.5475 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.4173, allocations: 19.94 kB / 0.5475 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.4174, allocations: 19.98 kB / 0.5475 GB, free: 6.523 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 (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.0004015/0.4178, allocations: 188.1 kB / 0.5477 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.4179, allocations: 32.69 kB / 0.5477 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.4202, allocations: 0.9357 MB / 0.5486 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4202, allocations: 12.8 kB / 0.5486 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4202, allocations: 1.156 kB / 0.5486 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4202, allocations: 4.859 kB / 0.5486 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.4239, allocations: 1.851 MB / 0.5505 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.4239, allocations: 5.5 kB / 0.5505 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003377/0.4273, allocations: 472.7 kB / 0.5509 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.4292, allocations: 338.3 kB / 0.5512 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-05/0.4293, allocations: 23.17 kB / 0.5513 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009773/0.4391, allocations: 10.1 MB / 0.5611 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.4391, allocations: 10.75 kB / 0.5611 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.4419, allocations: 1.397 MB / 0.5625 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4421, allocations: 45.17 kB / 0.5625 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.4422, allocations: 23.28 kB / 0.5626 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.4426, allocations: 23.77 kB / 0.5626 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.4428, allocations: 86.75 kB / 0.5627 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.4429, allocations: 35.27 kB / 0.5627 GB, free: 9.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.443, allocations: 143.5 kB / 0.5628 GB, free: 9.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.443, allocations: 1.344 kB / 0.5628 GB, free: 9.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.4439, allocations: 166.5 kB / 0.563 GB, free: 9.199 MB / 414.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.003051/0.447, allocations: 1.96 MB / 0.5649 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005009/0.452, allocations: 1.316 MB / 0.5662 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/0.452, allocations: 1.062 kB / 0.5662 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004228/0.4562, allocations: 1.089 MB / 0.5673 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/0.4572, allocations: 135.4 kB / 0.5674 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/0.4654, allocations: 4.786 MB / 0.5721 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.4659, allocations: 0.8513 MB / 0.5729 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.4663, allocations: 63.77 kB / 0.573 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.4666, allocations: 151.2 kB / 0.5731 GB, free: 1.715 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4666, allocations: 1.125 kB / 0.5731 GB, free: 1.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.514, allocations: 13.5 MB / 0.5863 GB, free: 6.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.63, allocations: 4 kB / 0.5863 GB, free: 6.082 MB / 430.1 MB " [Timeout remaining time 645] (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 --stepSize=0.03 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.846797731006518] Failed to read output from testmodel.py, exit status != 0: 14.816797449020669 14.846219174 14.463782601 Calling exit ...