Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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.001397/0.001397, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001699/0.001699, allocations: 215.1 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.1002/0.1002, allocations: 22.94 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_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.002029/0.002029, allocations: 75.88 kB / 472.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 59.29 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004868/0.3467, allocations: 3.422 MB / 0.5225 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3484, allocations: 0.9857 MB / 0.5234 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.3486, allocations: 9.781 kB / 0.5234 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3489, allocations: 95.89 kB / 0.5235 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.3495, allocations: 255.9 kB / 0.5238 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.35, allocations: 187.7 kB / 0.5239 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.3513, allocations: 1.173 MB / 0.5251 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000816/0.3521, allocations: 0.6051 MB / 0.5257 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.3528, allocations: 466.8 kB / 0.5261 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.3535, allocations: 0.524 MB / 0.5266 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.3537, allocations: 130.9 kB / 0.5268 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.3539, allocations: 123.6 kB / 0.5269 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.3541, allocations: 363 kB / 0.5272 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.3546, allocations: 0.4955 MB / 0.5277 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.356, allocations: 1.369 MB / 0.529 GB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.356, allocations: 0 / 0.529 GB, free: 4.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.356, allocations: 0.7031 kB / 0.5291 GB, free: 4.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.3561, allocations: 1.062 kB / 0.5291 GB, free: 4.914 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002817/0.3589, allocations: 1.171 MB / 0.5302 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3589, allocations: 11.91 kB / 0.5302 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.858e-05/0.359, allocations: 16.91 kB / 0.5302 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.3591, allocations: 110.8 kB / 0.5303 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.3593, allocations: 87.52 kB / 0.5304 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.3601, allocations: 495.2 kB / 0.5309 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.3601, allocations: 74.89 kB / 0.531 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3603, allocations: 80.08 kB / 0.531 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.3617, allocations: 0.8264 MB / 0.5318 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3617, allocations: 1 kB / 0.5318 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.3617, allocations: 30.14 kB / 0.5319 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3618, allocations: 17.19 kB / 0.5319 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.3631, allocations: 0.7207 MB / 0.5326 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.3684, allocations: 3.696 MB / 0.5362 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.3706, allocations: 0.904 MB / 0.5371 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.3712, allocations: 367.6 kB / 0.5374 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.3712, allocations: 10.2 kB / 0.5374 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3712, allocations: 43.03 kB / 0.5375 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.094e-06/0.3712, allocations: 0 / 0.5375 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.006084/0.3773, allocations: 2.374 MB / 0.5398 GB, free: 14.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3774, allocations: 58.12 kB / 0.5399 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.3781, allocations: 485.7 kB / 0.5403 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.3782, allocations: 32.14 kB / 0.5403 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.3785, allocations: 354.1 kB / 0.5407 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.3788, allocations: 237.8 kB / 0.5409 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.3791, allocations: 157 kB / 0.5411 GB, free: 14.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.3794, allocations: 370.5 kB / 0.5414 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007963/0.3802, allocations: 460.9 kB / 0.5419 GB, free: 13.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009131/0.3811, allocations: 0.6006 MB / 0.5424 GB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007633/0.3887, allocations: 2.426 MB / 0.5448 GB, free: 11.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.3888, allocations: 2.438 kB / 0.5448 GB, free: 11.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002829/0.3916, allocations: 1.308 MB / 0.5461 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3916, allocations: 7.062 kB / 0.5461 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3916, allocations: 9.469 kB / 0.5461 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/0.3925, allocations: 220.6 kB / 0.5463 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.3938, allocations: 261.2 kB / 0.5466 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/0.401, allocations: 7.385 MB / 0.5538 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.402, allocations: 56.38 kB / 0.5538 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/0.402, allocations: 28.47 kB / 0.5539 GB, free: 3.621 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007276/0.4028, allocations: 288.2 kB / 0.5541 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4029, allocations: 54.8 kB / 0.5542 GB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.4051, allocations: 0.9828 MB / 0.5551 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4051, allocations: 5.781 kB / 0.5552 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4052, allocations: 5.266 kB / 0.5552 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4052, allocations: 1.281 kB / 0.5552 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.4089, allocations: 2.027 MB / 0.5571 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4089, allocations: 1.094 kB / 0.5571 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.4103, allocations: 222.5 kB / 0.5574 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/0.4109, allocations: 169.9 kB / 0.5575 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.411, allocations: 30.17 kB / 0.5575 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/0.4172, allocations: 6.936 MB / 0.5643 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4172, allocations: 5.062 kB / 0.5643 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.42, allocations: 1.401 MB / 0.5657 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.4202, allocations: 61.92 kB / 0.5657 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.4204, allocations: 29.55 kB / 0.5658 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.4208, allocations: 27.47 kB / 0.5658 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.421, allocations: 56.61 kB / 0.5659 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.4211, allocations: 16.69 kB / 0.5659 GB, free: 9.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.4215, allocations: 330.5 kB / 0.5662 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4215, allocations: 4 kB / 0.5662 GB, free: 9.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000951/0.4225, allocations: 232.6 kB / 0.5664 GB, free: 9.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002869/0.4253, allocations: 1.962 MB / 0.5683 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.4278, allocations: 1.462 MB / 0.5698 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4278, allocations: 3.938 kB / 0.5698 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.4291, allocations: 0.9594 MB / 0.5707 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.43, allocations: 184.2 kB / 0.5709 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.4457, allocations: 8.919 MB / 0.5796 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.4465, allocations: 0.9813 MB / 0.5805 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006641/0.4471, allocations: 217 kB / 0.5807 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.4476, allocations: 259.3 kB / 0.581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4476, allocations: 0 / 0.581 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/0.5104, allocations: 19.49 MB / 0.6 GB, free: 8.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.98, allocations: 6.406 kB / 0.6 GB, free: 8.266 MB / 446.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.233266170020215] Failed to read output from testmodel.py, exit status != 0: 14.15399443503702 14.170348421 13.811015969 Calling exit ...