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.001342/0.001342, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001538/0.001538, allocations: 218.3 kB / 22.25 MB, free: 5.125 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 MB, free: 7.992 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.1091/0.1091, allocations: 24.13 MB / 336.6 MB, free: 11.45 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="me",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="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.002158/0.002158, allocations: 67.89 kB / 473.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 59.6 MB / 0.5204 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004033/0.3457, allocations: 3.427 MB / 0.5238 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3479, allocations: 0.9997 MB / 0.5247 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.3481, allocations: 9.844 kB / 0.5248 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.3484, allocations: 95.25 kB / 0.5248 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.3489, allocations: 248.8 kB / 0.5251 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.3494, allocations: 192.3 kB / 0.5253 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.3505, allocations: 1.171 MB / 0.5264 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.3513, allocations: 0.6001 MB / 0.527 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.3519, allocations: 471.2 kB / 0.5274 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006908/0.3526, allocations: 0.5308 MB / 0.528 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.3527, allocations: 122.2 kB / 0.5281 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3529, allocations: 122.8 kB / 0.5282 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.3533, allocations: 363 kB / 0.5285 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.3537, allocations: 0.4966 MB / 0.529 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.3554, allocations: 1.367 MB / 0.5304 GB, free: 4.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3555, allocations: 1.156 kB / 0.5304 GB, free: 4.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3555, allocations: 0 / 0.5304 GB, free: 4.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.3555, allocations: 0 / 0.5304 GB, free: 4.27 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.002629/0.3581, allocations: 1.168 MB / 0.5315 GB, free: 3.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3582, allocations: 11.58 kB / 0.5315 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.3583, allocations: 116 kB / 0.5316 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.3585, allocations: 86.73 kB / 0.5317 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.3592, allocations: 494.9 kB / 0.5322 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.3593, allocations: 74.91 kB / 0.5323 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.3595, allocations: 75.8 kB / 0.5323 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.3611, allocations: 0.8352 MB / 0.5331 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.3611, allocations: 5.125 kB / 0.5331 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.3612, allocations: 25.5 kB / 0.5332 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3612, allocations: 15.44 kB / 0.5332 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3625, allocations: 0.7216 MB / 0.5339 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.3682, allocations: 3.7 MB / 0.5375 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.3707, allocations: 0.8937 MB / 0.5384 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.3714, allocations: 363.5 kB / 0.5387 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.3715, allocations: 10.28 kB / 0.5387 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3715, allocations: 46.44 kB / 0.5388 GB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.685e-06/0.3715, allocations: 0 / 0.5388 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.005992/0.3775, allocations: 2.37 MB / 0.5411 GB, free: 14.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3776, allocations: 61.81 kB / 0.5412 GB, free: 14.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.3783, allocations: 478.7 kB / 0.5416 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.3784, allocations: 35.8 kB / 0.5416 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.3787, allocations: 354.2 kB / 0.542 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.379, allocations: 239.9 kB / 0.5422 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.3793, allocations: 148.6 kB / 0.5424 GB, free: 13.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.3795, allocations: 377.8 kB / 0.5427 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/0.3803, allocations: 459.3 kB / 0.5432 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.3812, allocations: 0.6059 MB / 0.5437 GB, free: 12.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00761/0.3888, allocations: 2.424 MB / 0.5461 GB, free: 10.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.3888, allocations: 1.188 kB / 0.5461 GB, free: 10.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003057/0.3919, allocations: 1.312 MB / 0.5474 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3919, allocations: 8.438 kB / 0.5474 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3919, allocations: 4.438 kB / 0.5474 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008847/0.3928, allocations: 209.2 kB / 0.5476 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.3942, allocations: 267 kB / 0.5479 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007035/0.4013, allocations: 7.394 MB / 0.5551 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008931/0.4022, allocations: 56.42 kB / 0.5551 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.4022, allocations: 31.72 kB / 0.5552 GB, free: 2.781 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.0006457/0.4029, allocations: 280.6 kB / 0.5554 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.403, allocations: 58.39 kB / 0.5555 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.405, allocations: 0.9876 MB / 0.5565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.405, allocations: 5.156 kB / 0.5565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.405, allocations: 2.312 kB / 0.5565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.405, allocations: 7.922 kB / 0.5565 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.4087, allocations: 2.02 MB / 0.5584 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4087, allocations: 0 / 0.5584 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.4101, allocations: 219.1 kB / 0.5586 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.4106, allocations: 169.3 kB / 0.5588 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/0.4107, allocations: 39.14 kB / 0.5588 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005784/0.4165, allocations: 6.936 MB / 0.5656 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4165, allocations: 3.938 kB / 0.5656 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.4192, allocations: 1.393 MB / 0.567 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.4194, allocations: 66.31 kB / 0.567 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.4195, allocations: 30.44 kB / 0.5671 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.4199, allocations: 35.02 kB / 0.5671 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.4201, allocations: 56.47 kB / 0.5672 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.4202, allocations: 15.84 kB / 0.5672 GB, free: 8.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004411/0.4206, allocations: 327.5 kB / 0.5675 GB, free: 8.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4206, allocations: 0 / 0.5675 GB, free: 8.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009349/0.4215, allocations: 231.6 kB / 0.5677 GB, free: 8.285 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.002838/0.4244, allocations: 1.975 MB / 0.5696 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.4267, allocations: 1.456 MB / 0.5711 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4267, allocations: 4.125 kB / 0.5711 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.428, allocations: 0.9571 MB / 0.572 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.4289, allocations: 173.9 kB / 0.5722 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.4445, allocations: 8.91 MB / 0.5809 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.4453, allocations: 0.9891 MB / 0.5818 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006588/0.4459, allocations: 205 kB / 0.582 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.4463, allocations: 259.3 kB / 0.5823 GB, free: 9.602 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4464, allocations: 4 kB / 0.5823 GB, free: 9.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06412/0.5105, allocations: 19.46 MB / 0.6013 GB, free: 6.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.05, allocations: 13.53 kB / 0.6013 GB, free: 6.387 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.083987881895155] Failed to read output from testmodel.py, exit status != 0: 14.165851312922314 14.190341554 13.829254894 Calling exit ...