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.001307/0.001307, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001751/0.001751, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1016/0.1016, allocations: 22.93 MB / 332.5 MB, free: 2.648 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.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="cs",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="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.002076/0.002076, allocations: 72.58 kB / 466.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1223, allocations: 59.27 MB / 0.5137 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.005733/0.128, allocations: 3.982 MB / 0.5176 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1304, allocations: 1.197 MB / 0.5187 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.1307, allocations: 19.81 kB / 0.5188 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.131, allocations: 150.8 kB / 0.5189 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.1317, allocations: 397.8 kB / 0.5193 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.1325, allocations: 275.6 kB / 0.5195 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.135, allocations: 1.947 MB / 0.5214 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.137, allocations: 1.202 MB / 0.5226 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1385, allocations: 0.7599 MB / 0.5234 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.1398, allocations: 0.892 MB / 0.5242 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.1401, allocations: 216 kB / 0.5244 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.1405, allocations: 216 kB / 0.5246 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.1412, allocations: 0.643 MB / 0.5253 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.1425, allocations: 0.8212 MB / 0.5261 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.1453, allocations: 2.368 MB / 0.5284 GB, free: 14.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.1453, allocations: 0 / 0.5284 GB, free: 14.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1453, allocations: 4 kB / 0.5284 GB, free: 14.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.361e-05/0.1453, allocations: 0 / 0.5284 GB, free: 14.86 MB / 398.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.005125/0.1505, allocations: 1.877 MB / 0.5302 GB, free: 12.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.1505, allocations: 8.625 kB / 0.5302 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.4e-05/0.1506, allocations: 30.22 kB / 0.5303 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.1508, allocations: 164.6 kB / 0.5304 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.1511, allocations: 136.1 kB / 0.5306 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.1524, allocations: 0.8022 MB / 0.5313 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.1525, allocations: 78.41 kB / 0.5314 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.1527, allocations: 120.3 kB / 0.5315 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.1553, allocations: 1.421 MB / 0.5329 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1553, allocations: 0 / 0.5329 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.1555, allocations: 40 kB / 0.5329 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.1555, allocations: 24 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.1578, allocations: 1.257 MB / 0.5342 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.1683, allocations: 6.16 MB / 0.5402 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.1729, allocations: 1.761 MB / 0.5419 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.1742, allocations: 0.6894 MB / 0.5426 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.279e-05/0.1743, allocations: 12.91 kB / 0.5426 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.1743, allocations: 47.5 kB / 0.5427 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 2.825e-06/0.1743, allocations: 0 / 0.5427 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.01041/0.1847, allocations: 5.132 MB / 0.5477 GB, free: 10.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1848, allocations: 60.41 kB / 0.5477 GB, free: 10.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.1856, allocations: 0.6085 MB / 0.5483 GB, free: 9.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.1857, allocations: 41.7 kB / 0.5484 GB, free: 9.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.1862, allocations: 460.7 kB / 0.5488 GB, free: 9.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.1866, allocations: 412.6 kB / 0.5492 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.1871, allocations: 218.9 kB / 0.5494 GB, free: 8.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.1873, allocations: 406.7 kB / 0.5498 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.1886, allocations: 0.7524 MB / 0.5505 GB, free: 7.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.1901, allocations: 0.9406 MB / 0.5515 GB, free: 6.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.1932, allocations: 1.941 MB / 0.5533 GB, free: 4.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1932, allocations: 0 / 0.5533 GB, free: 4.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00476/0.198, allocations: 2.246 MB / 0.5555 GB, free: 2.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.198, allocations: 11.94 kB / 0.5556 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.198, allocations: 4.047 kB / 0.5556 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.1997, allocations: 420.2 kB / 0.556 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.2017, allocations: 395.5 kB / 0.5563 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.2166, allocations: 15.78 MB / 0.5717 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.2179, allocations: 72.05 kB / 0.5718 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.2181, allocations: 47.98 kB / 0.5719 GB, free: 15.8 MB / 446.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.0008169/0.2189, allocations: 394.2 kB / 0.5722 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.2191, allocations: 87.42 kB / 0.5723 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.2229, allocations: 1.81 MB / 0.5741 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.2229, allocations: 8 kB / 0.5741 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.2229, allocations: 4 kB / 0.5741 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2229, allocations: 7.984 kB / 0.5741 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006863/0.2298, allocations: 3.624 MB / 0.5776 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2298, allocations: 4 kB / 0.5777 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/0.232, allocations: 351.6 kB / 0.578 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/0.2331, allocations: 344.4 kB / 0.5783 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.2333, allocations: 67.95 kB / 0.5784 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2772/0.5106, allocations: 14.89 MB / 0.5929 GB, free: 61.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5106, allocations: 4.875 kB / 0.5929 GB, free: 61.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.5151, allocations: 2.504 MB / 0.5954 GB, free: 61.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5155, allocations: 170.6 kB / 0.5955 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.5157, allocations: 59.28 kB / 0.5956 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.5164, allocations: 52.91 kB / 0.5956 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/0.5167, allocations: 88.98 kB / 0.5957 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.095e-05/0.5168, allocations: 27 kB / 0.5957 GB, free: 61.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007147/0.5175, allocations: 433.6 kB / 0.5962 GB, free: 61.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5175, allocations: 0 / 0.5962 GB, free: 61.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001618/0.5191, allocations: 395.7 kB / 0.5965 GB, free: 61.02 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.004623/0.5238, allocations: 3.111 MB / 0.5996 GB, free: 59.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.5274, allocations: 2.725 MB / 0.6022 GB, free: 57.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.5274, allocations: 4 kB / 0.6022 GB, free: 57.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.5294, allocations: 1.863 MB / 0.6041 GB, free: 56.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.5306, allocations: 287.2 kB / 0.6043 GB, free: 56.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/0.5571, allocations: 14.86 MB / 0.6188 GB, free: 48.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.5583, allocations: 1.195 MB / 0.62 GB, free: 48.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001199/0.5595, allocations: 354.5 kB / 0.6203 GB, free: 48.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007219/0.5602, allocations: 411.6 kB / 0.6207 GB, free: 47.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5602, allocations: 0 / 0.6207 GB, free: 47.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07549/0.6357, allocations: 32.05 MB / 0.652 GB, free: 17.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.43, allocations: 16.5 kB / 0.6521 GB, free: 17.76 MB / 446.1 MB " [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 & /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 os._exit(0), Time elapsed: 17.44333079503849] Failed to read output from testmodel.py, exit status != 0: 14.584808548039291 14.598883941 14.450560549 Calling exit ...