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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.1201/0.1201, allocations: 22.7 MB / 325.4 MB, free: 3.539 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.91 kB / 457.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1201, allocations: 58.03 MB / 0.5031 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.005423/0.1256, allocations: 3.97 MB / 0.507 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1279, allocations: 1.177 MB / 0.5081 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.1282, allocations: 11.94 kB / 0.5082 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.1286, allocations: 150.7 kB / 0.5083 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.1292, allocations: 393.8 kB / 0.5087 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.13, allocations: 271.6 kB / 0.5089 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2395/0.3694, allocations: 1.951 MB / 0.5108 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.3711, allocations: 1.195 MB / 0.512 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009723/0.372, allocations: 0.7443 MB / 0.5127 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009675/0.373, allocations: 0.8952 MB / 0.5136 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.3733, allocations: 215.6 kB / 0.5138 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.3735, allocations: 218.2 kB / 0.514 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.374, allocations: 0.639 MB / 0.5146 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007572/0.3747, allocations: 0.8249 MB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.3773, allocations: 2.366 MB / 0.5178 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3773, allocations: 1.906 kB / 0.5178 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3773, allocations: 4.438 kB / 0.5178 GB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.025e-05/0.3774, allocations: 0 / 0.5178 GB, free: 9.859 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.004767/0.3821, allocations: 1.875 MB / 0.5196 GB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3822, allocations: 15.16 kB / 0.5196 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.3824, allocations: 159 kB / 0.5198 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.3827, allocations: 135.6 kB / 0.5199 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.3843, allocations: 0.8031 MB / 0.5207 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.3843, allocations: 79.53 kB / 0.5208 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.3846, allocations: 120.1 kB / 0.5209 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.3872, allocations: 1.42 MB / 0.5223 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3872, allocations: 0 / 0.5223 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.3873, allocations: 41.16 kB / 0.5223 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.3874, allocations: 28.28 kB / 0.5223 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.3894, allocations: 1.262 MB / 0.5236 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009473/0.3989, allocations: 6.143 MB / 0.5296 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/0.4033, allocations: 1.754 MB / 0.5313 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.4046, allocations: 0.6823 MB / 0.5319 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/0.4047, allocations: 13.56 kB / 0.5319 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.4048, allocations: 49.88 kB / 0.532 GB, free: 2.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.046e-06/0.4048, allocations: 4 kB / 0.532 GB, free: 2.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.01011/0.4149, allocations: 5.134 MB / 0.537 GB, free: 15.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.415, allocations: 65.19 kB / 0.5371 GB, free: 15.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.4162, allocations: 0.6104 MB / 0.5377 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.4163, allocations: 45.55 kB / 0.5377 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.4167, allocations: 453.6 kB / 0.5381 GB, free: 14.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/0.4173, allocations: 414.3 kB / 0.5385 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/0.4178, allocations: 220.9 kB / 0.5388 GB, free: 13.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.418, allocations: 408.1 kB / 0.5391 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.4193, allocations: 0.7499 MB / 0.5399 GB, free: 12.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.4208, allocations: 0.9451 MB / 0.5408 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.4239, allocations: 1.933 MB / 0.5427 GB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.4239, allocations: 1.156 kB / 0.5427 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004518/0.4284, allocations: 2.255 MB / 0.5449 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.4284, allocations: 6.906 kB / 0.5449 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.4285, allocations: 8.312 kB / 0.5449 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.43, allocations: 410.6 kB / 0.5453 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.4319, allocations: 396.7 kB / 0.5457 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.446, allocations: 15.78 MB / 0.5611 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4474, allocations: 76.83 kB / 0.5612 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.4476, allocations: 40.22 kB / 0.5612 GB, free: 9.957 MB / 414.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.0008919/0.4484, allocations: 398.3 kB / 0.5616 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.4487, allocations: 93.25 kB / 0.5617 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.4522, allocations: 1.808 MB / 0.5634 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4522, allocations: 9.625 kB / 0.5634 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4522, allocations: 4.125 kB / 0.5634 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4522, allocations: 3.984 kB / 0.5634 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.4592, allocations: 3.621 MB / 0.567 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.4593, allocations: 4.938 kB / 0.567 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.4613, allocations: 358.2 kB / 0.5673 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.4624, allocations: 345.2 kB / 0.5677 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.4625, allocations: 59.97 kB / 0.5677 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.475, allocations: 14.9 MB / 0.5823 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.475, allocations: 0 / 0.5823 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.4799, allocations: 2.501 MB / 0.5847 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.4803, allocations: 176.5 kB / 0.5849 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.4805, allocations: 63.97 kB / 0.5849 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.4812, allocations: 51.94 kB / 0.585 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.4814, allocations: 88.56 kB / 0.5851 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/0.4815, allocations: 31.98 kB / 0.5851 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005968/0.4821, allocations: 430.8 kB / 0.5855 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4821, allocations: 0 / 0.5855 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001422/0.4835, allocations: 396 kB / 0.5859 GB, free: 128 kB / 430.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.004831/0.4883, allocations: 3.114 MB / 0.5889 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004205/0.4925, allocations: 2.724 MB / 0.5916 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4926, allocations: 0 / 0.5916 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.4949, allocations: 1.865 MB / 0.5934 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4961, allocations: 288.6 kB / 0.5937 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/0.5216, allocations: 14.85 MB / 0.6082 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.5226, allocations: 1.196 MB / 0.6093 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001198/0.5238, allocations: 359 kB / 0.6097 GB, free: 7.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/0.5245, allocations: 411.2 kB / 0.6101 GB, free: 6.73 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5245, allocations: 4 kB / 0.6101 GB, free: 6.727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09024/0.6148, allocations: 32.01 MB / 0.6414 GB, free: 7.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.14, allocations: 3.984 kB / 0.6414 GB, free: 7.027 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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: 16.278799377847463] Failed to read output from testmodel.py, exit status != 0: 13.233745316974819 13.246653658 12.866511058 Calling exit ...