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.001778/0.001778, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.002353/0.002353, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1192/0.1192, allocations: 22.93 MB / 336.2 MB, free: 12.6 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.001967/0.001967, allocations: 63.89 kB / 472.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 59.28 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.004674/0.3809, allocations: 4.074 MB / 0.5231 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.3833, allocations: 1.312 MB / 0.5244 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.3836, allocations: 2.594 kB / 0.5244 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.3837, allocations: 79.84 kB / 0.5244 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.3843, allocations: 226.7 kB / 0.5247 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.3848, allocations: 287.7 kB / 0.5249 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3859, allocations: 1.087 MB / 0.526 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006316/0.3865, allocations: 443.1 kB / 0.5264 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.3871, allocations: 440.8 kB / 0.5268 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.3877, allocations: 473.2 kB / 0.5273 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.3879, allocations: 100.6 kB / 0.5274 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.388, allocations: 104.4 kB / 0.5275 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3882, allocations: 206.7 kB / 0.5277 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.3886, allocations: 438.1 kB / 0.5281 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3899, allocations: 1.023 MB / 0.5291 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3899, allocations: 0 / 0.5291 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3899, allocations: 0 / 0.5291 GB, free: 4.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.3899, allocations: 0 / 0.5291 GB, free: 4.5 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.002221/0.3921, allocations: 0.9314 MB / 0.53 GB, free: 3.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3922, allocations: 10.33 kB / 0.53 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.878e-05/0.3922, allocations: 26.45 kB / 0.53 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.3924, allocations: 134.4 kB / 0.5302 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3925, allocations: 76.28 kB / 0.5302 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.3927, allocations: 183.1 kB / 0.5304 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.3928, allocations: 62.66 kB / 0.5305 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3929, allocations: 81.5 kB / 0.5306 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.3943, allocations: 0.7364 MB / 0.5313 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3943, allocations: 0 / 0.5313 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.3944, allocations: 39.53 kB / 0.5313 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.3944, allocations: 19.66 kB / 0.5313 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.3959, allocations: 0.7557 MB / 0.5321 GB, free: 2.953 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.004153/0.4, allocations: 2.189 MB / 0.5342 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.4023, allocations: 0.9335 MB / 0.5351 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.403, allocations: 339.9 kB / 0.5354 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/0.4031, allocations: 21.56 kB / 0.5355 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.4031, allocations: 43.16 kB / 0.5355 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006536/0.4038, allocations: 131.5 kB / 0.5356 GB, free: 1.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.376e-06/0.4038, allocations: 1.188 kB / 0.5356 GB, free: 1.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01521/0.419, allocations: 4.009 MB / 0.5395 GB, free: 15.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.419, allocations: 67.5 kB / 0.5396 GB, free: 15.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.4194, allocations: 217.5 kB / 0.5398 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.81e-05/0.4194, allocations: 46.08 kB / 0.5399 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.4196, allocations: 221.7 kB / 0.5401 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.42, allocations: 412.5 kB / 0.5405 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.4203, allocations: 156.9 kB / 0.5406 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4205, allocations: 365.7 kB / 0.541 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.4212, allocations: 324.9 kB / 0.5413 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.4219, allocations: 397.3 kB / 0.5417 GB, free: 14.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/0.4373, allocations: 2.841 MB / 0.5444 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4374, allocations: 0 / 0.5444 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005218/0.4426, allocations: 1.493 MB / 0.5459 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.4426, allocations: 5.156 kB / 0.5459 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4426, allocations: 0 / 0.5459 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/0.4471, allocations: 0.7647 MB / 0.5466 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/0.4529, allocations: 0.7359 MB / 0.5474 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.4757, allocations: 15.14 MB / 0.5621 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.4769, allocations: 32.27 kB / 0.5622 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.477, allocations: 38.89 kB / 0.5622 GB, free: 12.95 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.0006835/0.4777, allocations: 217.8 kB / 0.5624 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.4779, allocations: 52.64 kB / 0.5625 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.4828, allocations: 1.65 MB / 0.5641 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.4828, allocations: 10.88 kB / 0.5641 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4828, allocations: 1.375 kB / 0.5641 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-05/0.4829, allocations: 7.969 kB / 0.5641 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/0.4903, allocations: 2.945 MB / 0.567 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.4903, allocations: 13.56 kB / 0.567 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005034/0.4953, allocations: 0.669 MB / 0.5676 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/0.4984, allocations: 0.596 MB / 0.5682 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/0.4987, allocations: 36.83 kB / 0.5683 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.5173, allocations: 14.82 MB / 0.5827 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/0.5174, allocations: 15.94 kB / 0.5827 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005912/0.5233, allocations: 2.25 MB / 0.5849 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.5236, allocations: 67.66 kB / 0.585 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.5237, allocations: 32 kB / 0.585 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/0.5244, allocations: 35.98 kB / 0.5851 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/0.5249, allocations: 140.5 kB / 0.5852 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/0.5249, allocations: 40 kB / 0.5852 GB, free: 6.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.5252, allocations: 168.3 kB / 0.5854 GB, free: 6.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5252, allocations: 0 / 0.5854 GB, free: 6.656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001645/0.5268, allocations: 276 kB / 0.5857 GB, free: 6.387 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.005775/0.5326, allocations: 2.833 MB / 0.5884 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00842/0.541, allocations: 1.971 MB / 0.5904 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.541, allocations: 0 / 0.5904 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006982/0.548, allocations: 1.615 MB / 0.5919 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.5496, allocations: 201 kB / 0.5921 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.5683, allocations: 7.178 MB / 0.5991 GB, free: 8.012 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.5694, allocations: 0.9287 MB / 0.6 GB, free: 7.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007631/0.5701, allocations: 93.14 kB / 0.6001 GB, free: 6.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/0.5706, allocations: 215.4 kB / 0.6003 GB, free: 6.754 MB / 446.1 MB Notification: Performance of SimCode: time 1.954e-06/0.5706, allocations: 0 / 0.6003 GB, free: 6.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/0.6366, allocations: 22.77 MB / 0.6226 GB, free: 232 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.25, allocations: 7.922 kB / 0.6226 GB, free: 224 kB / 462.1 MB " [Timeout remaining time 645] (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: 18.79522597702453] Failed to read output from testmodel.py, exit status != 0: 15.44278421200579 15.465578125 15.071395577 Calling exit ...