Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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.001366/0.001366, allocations: 107.8 kB / 16.46 MB, free: 6.512 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.001541/0.001541, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.1065/0.1065, allocations: 24.12 MB / 333 MB, free: 12.57 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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",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.002124/0.002124, allocations: 67.89 kB / 467.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 59.57 MB / 0.5151 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004321/0.3643, allocations: 3.984 MB / 0.519 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.3672, allocations: 1.206 MB / 0.5201 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.3677, allocations: 18.97 kB / 0.5202 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.3682, allocations: 151.4 kB / 0.5203 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009329/0.3691, allocations: 398.2 kB / 0.5207 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.3701, allocations: 275.3 kB / 0.5209 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.3722, allocations: 1.952 MB / 0.5229 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.374, allocations: 1.203 MB / 0.524 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.3756, allocations: 0.7525 MB / 0.5248 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.3771, allocations: 0.8945 MB / 0.5256 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.3774, allocations: 216.2 kB / 0.5258 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.3779, allocations: 217.1 kB / 0.526 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006376/0.3785, allocations: 0.6345 MB / 0.5267 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008973/0.3794, allocations: 0.8327 MB / 0.5275 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.3823, allocations: 2.368 MB / 0.5298 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3823, allocations: 1.266 kB / 0.5298 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3823, allocations: 0 / 0.5298 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.3823, allocations: 0.5625 kB / 0.5298 GB, free: 1.574 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004564/0.3869, allocations: 1.874 MB / 0.5316 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3869, allocations: 10.06 kB / 0.5316 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.3872, allocations: 160.5 kB / 0.5318 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.3875, allocations: 137.7 kB / 0.5319 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.3887, allocations: 0.8098 MB / 0.5327 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.3888, allocations: 75.84 kB / 0.5328 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.3891, allocations: 120 kB / 0.5329 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.3919, allocations: 1.42 MB / 0.5343 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3919, allocations: 0 / 0.5343 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.392, allocations: 40.84 kB / 0.5343 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.3921, allocations: 24.78 kB / 0.5343 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.3946, allocations: 1.256 MB / 0.5356 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.4053, allocations: 6.152 MB / 0.5416 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.4097, allocations: 1.763 MB / 0.5433 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.4108, allocations: 0.6804 MB / 0.544 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.4109, allocations: 9.781 kB / 0.544 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.411, allocations: 47.12 kB / 0.544 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 2.926e-06/0.411, allocations: 0 / 0.544 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.01055/0.4215, allocations: 5.142 MB / 0.549 GB, free: 5.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.4216, allocations: 66.36 kB / 0.5491 GB, free: 5.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.4226, allocations: 0.5989 MB / 0.5497 GB, free: 4.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.4227, allocations: 42.05 kB / 0.5497 GB, free: 4.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.423, allocations: 466.1 kB / 0.5502 GB, free: 4.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004874/0.4235, allocations: 414.9 kB / 0.5506 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/0.424, allocations: 220.6 kB / 0.5508 GB, free: 3.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4242, allocations: 404.3 kB / 0.5512 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4256, allocations: 0.7527 MB / 0.5519 GB, free: 3.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.4271, allocations: 0.9431 MB / 0.5528 GB, free: 2.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.4303, allocations: 1.934 MB / 0.5547 GB, free: 1.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.4303, allocations: 6.125 kB / 0.5547 GB, free: 1.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004984/0.4353, allocations: 2.25 MB / 0.5569 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.4353, allocations: 10.25 kB / 0.5569 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.4354, allocations: 5.188 kB / 0.5569 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.4371, allocations: 414.9 kB / 0.5573 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.4391, allocations: 401.8 kB / 0.5577 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/0.4538, allocations: 15.77 MB / 0.5731 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.4554, allocations: 76.05 kB / 0.5732 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/0.4558, allocations: 47.98 kB / 0.5732 GB, free: 14.33 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (150): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.001522/0.4574, allocations: 399.6 kB / 0.5736 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005276/0.4579, allocations: 83.48 kB / 0.5737 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.4623, allocations: 1.814 MB / 0.5755 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4623, allocations: 8 kB / 0.5755 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.4624, allocations: 8 kB / 0.5755 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4624, allocations: 3.984 kB / 0.5755 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/0.4701, allocations: 3.62 MB / 0.579 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.4701, allocations: 4 kB / 0.579 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/0.4724, allocations: 351.6 kB / 0.5794 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.4735, allocations: 344.4 kB / 0.5797 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.4737, allocations: 63.95 kB / 0.5797 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.4866, allocations: 14.91 MB / 0.5943 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/0.4866, allocations: 4.094 kB / 0.5943 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/0.492, allocations: 2.507 MB / 0.5968 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.4924, allocations: 172.6 kB / 0.5969 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.4927, allocations: 55.98 kB / 0.597 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.4935, allocations: 51.92 kB / 0.597 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.4938, allocations: 84.83 kB / 0.5971 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/0.4939, allocations: 23.98 kB / 0.5971 GB, free: 4.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006464/0.4946, allocations: 434.8 kB / 0.5975 GB, free: 3.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4946, allocations: 0 / 0.5975 GB, free: 3.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00156/0.4961, allocations: 400 kB / 0.5979 GB, free: 3.395 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.005285/0.5014, allocations: 3.108 MB / 0.601 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004956/0.5064, allocations: 2.727 MB / 0.6036 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.5064, allocations: 0 / 0.6036 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.5091, allocations: 1.861 MB / 0.6054 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.5109, allocations: 304.9 kB / 0.6057 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/0.541, allocations: 14.85 MB / 0.6202 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.5422, allocations: 1.191 MB / 0.6214 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.5435, allocations: 355 kB / 0.6217 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009113/0.5445, allocations: 415.2 kB / 0.6221 GB, free: 9.934 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5445, allocations: 0 / 0.6221 GB, free: 9.934 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09875/0.6432, allocations: 32 MB / 0.6534 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.41, allocations: 7.359 kB / 0.6534 GB, free: 10.23 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_004_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.473263301886618] Failed to read output from testmodel.py, exit status != 0: 14.51460560108535 14.535615414 14.14843923 Calling exit ...