Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.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.001334/0.001334, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001442/0.001442, allocations: 209.6 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.09 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.1017/0.1017, allocations: 22.93 MB / 332.5 MB, free: 2.637 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_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",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.002103/0.002103, allocations: 63.83 kB / 466.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1052, allocations: 59.27 MB / 0.5137 GB, free: 13.99 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.03674/0.142, allocations: 22.72 MB / 0.5359 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.1427, allocations: 211.3 kB / 0.5361 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.1429, allocations: 15.88 kB / 0.5361 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.365e-05/0.143, allocations: 31.7 kB / 0.5361 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1433, allocations: 107.2 kB / 0.5362 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1434, allocations: 35.95 kB / 0.5363 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.1438, allocations: 282.4 kB / 0.5365 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.144, allocations: 112.6 kB / 0.5366 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1443, allocations: 135.5 kB / 0.5368 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1444, allocations: 91.58 kB / 0.5369 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1445, allocations: 12 kB / 0.5369 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.1445, allocations: 16 kB / 0.5369 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.1446, allocations: 35.8 kB / 0.5369 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1447, allocations: 107.5 kB / 0.537 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.145, allocations: 215 kB / 0.5372 GB, free: 6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.145, allocations: 0 / 0.5372 GB, free: 6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.145, allocations: 0 / 0.5372 GB, free: 6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.145, allocations: 4 kB / 0.5372 GB, free: 5.996 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008281/0.1458, allocations: 0.5175 MB / 0.5377 GB, free: 5.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1458, allocations: 12.62 kB / 0.5377 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.1459, allocations: 4.188 kB / 0.5377 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.1459, allocations: 46.73 kB / 0.5378 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.146, allocations: 24.8 kB / 0.5378 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1463, allocations: 277.7 kB / 0.5381 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1463, allocations: 16.36 kB / 0.5381 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.1464, allocations: 12.38 kB / 0.5381 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1467, allocations: 171 kB / 0.5383 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1467, allocations: 3.938 kB / 0.5383 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1467, allocations: 4 kB / 0.5383 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1467, allocations: 7.984 kB / 0.5383 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.1469, allocations: 95.83 kB / 0.5384 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.1479, allocations: 0.8097 MB / 0.5392 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1481, allocations: 66.5 kB / 0.5392 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.746e-05/0.1481, allocations: 40.84 kB / 0.5393 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1482, allocations: 0 / 0.5393 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1482, allocations: 38.56 kB / 0.5393 GB, free: 3.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1482, allocations: 0 / 0.5393 GB, free: 3.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003824/0.1486, allocations: 125.7 kB / 0.5394 GB, free: 3.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1486, allocations: 55.34 kB / 0.5395 GB, free: 3.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.1489, allocations: 275 kB / 0.5397 GB, free: 3.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1489, allocations: 33.64 kB / 0.5398 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1491, allocations: 136 kB / 0.5399 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1491, allocations: 31.75 kB / 0.5399 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.1492, allocations: 29.66 kB / 0.54 GB, free: 2.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1493, allocations: 342.8 kB / 0.5403 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.1494, allocations: 23.98 kB / 0.5403 GB, free: 2.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.1495, allocations: 50.5 kB / 0.5404 GB, free: 2.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.1501, allocations: 158.5 kB / 0.5405 GB, free: 2.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1501, allocations: 4 kB / 0.5405 GB, free: 2.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002344/0.1503, allocations: 133.4 kB / 0.5406 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1503, allocations: 11.98 kB / 0.5407 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1503, allocations: 0 / 0.5407 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1503, allocations: 0 / 0.5407 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1505, allocations: 32 kB / 0.5407 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1505, allocations: 7.984 kB / 0.5407 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1506, allocations: 15.83 kB / 0.5407 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1506, allocations: 4 kB / 0.5407 GB, free: 2.137 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.1508, allocations: 137.7 kB / 0.5408 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.1509, allocations: 27.86 kB / 0.5409 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.1509, allocations: 21.73 kB / 0.5409 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1509, allocations: 7.938 kB / 0.5409 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1509, allocations: 0 / 0.5409 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1509, allocations: 3.938 kB / 0.5409 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1512, allocations: 245.5 kB / 0.5411 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1512, allocations: 0 / 0.5411 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1514, allocations: 19.98 kB / 0.5412 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1514, allocations: 0 / 0.5412 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1514, allocations: 4 kB / 0.5412 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1514, allocations: 7.938 kB / 0.5412 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1514, allocations: 0 / 0.5412 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1517, allocations: 231.3 kB / 0.5414 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.1518, allocations: 104.9 kB / 0.5415 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1518, allocations: 0 / 0.5415 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1519, allocations: 7.938 kB / 0.5415 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.1519, allocations: 0 / 0.5415 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.152, allocations: 8 kB / 0.5415 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1521, allocations: 198 kB / 0.5417 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1521, allocations: 0 / 0.5417 GB, free: 1.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1524, allocations: 32 kB / 0.5417 GB, free: 1.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006207/0.153, allocations: 0.7709 MB / 0.5425 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1532, allocations: 68.52 kB / 0.5425 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1532, allocations: 0 / 0.5425 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.1533, allocations: 31.98 kB / 0.5426 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1537, allocations: 56.94 kB / 0.5426 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.1565, allocations: 2.308 MB / 0.5449 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1568, allocations: 0.7362 MB / 0.5456 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1569, allocations: 38.2 kB / 0.5456 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.157, allocations: 63.42 kB / 0.5457 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.157, allocations: 0 / 0.5457 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.1796, allocations: 4.697 MB / 0.5503 GB, free: 8.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/8.784, allocations: 18.06 kB / 0.5503 GB, free: 8.168 MB / 414.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001_fmu --startTime=0 --stopTime=10000 --stepSize=100 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001.fmu > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.532327663036995] Failed to read output from testmodel.py, exit status != 0: 8.913520349015016 8.936557177 8.787514737 Calling exit ...