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.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.001265/0.001265, allocations: 105.9 kB / 16.45 MB, free: 6.445 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.001199/0.001199, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.375/1.375, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.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.09349/0.09349, allocations: 22.68 MB / 325.4 MB, free: 7.93 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_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 70.14 kB / 457.2 MB, free: 41.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08925, allocations: 58.02 MB / 0.5031 GB, free: 8.25 MB / 366.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.03032/0.1196, allocations: 22.69 MB / 0.5253 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.1203, allocations: 219.2 kB / 0.5255 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1204, allocations: 11.94 kB / 0.5255 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.053e-05/0.1205, allocations: 23.72 kB / 0.5255 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1207, allocations: 111.2 kB / 0.5256 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1209, allocations: 39.89 kB / 0.5257 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1211, allocations: 282.6 kB / 0.5259 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1214, allocations: 116.5 kB / 0.526 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1215, allocations: 131.5 kB / 0.5262 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1217, allocations: 87.58 kB / 0.5262 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.1217, allocations: 16 kB / 0.5263 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-05/0.1217, allocations: 12 kB / 0.5263 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.1218, allocations: 35.84 kB / 0.5263 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1219, allocations: 103.4 kB / 0.5264 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1222, allocations: 219 kB / 0.5266 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1222, allocations: 0 / 0.5266 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1222, allocations: 3.938 kB / 0.5266 GB, free: 316 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1222, allocations: 0 / 0.5266 GB, free: 316 kB / 382.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.0007539/0.1229, allocations: 0.5255 MB / 0.5271 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.123, allocations: 8.031 kB / 0.5271 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.123, allocations: 46.73 kB / 0.5272 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.123, allocations: 28.73 kB / 0.5272 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1234, allocations: 280.7 kB / 0.5275 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1234, allocations: 8.375 kB / 0.5275 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.1234, allocations: 12.38 kB / 0.5275 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1238, allocations: 163.2 kB / 0.5277 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1238, allocations: 0 / 0.5277 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1238, allocations: 8 kB / 0.5277 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1238, allocations: 8 kB / 0.5277 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.124, allocations: 95.83 kB / 0.5278 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.1249, allocations: 0.8057 MB / 0.5286 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1251, allocations: 78.48 kB / 0.5286 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.1252, allocations: 40.84 kB / 0.5287 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.1252, allocations: 0 / 0.5287 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1252, allocations: 34.56 kB / 0.5287 GB, free: 13.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.1252, allocations: 0 / 0.5287 GB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002827/0.1255, allocations: 125.7 kB / 0.5288 GB, free: 13.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1255, allocations: 59.34 kB / 0.5289 GB, free: 13.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1258, allocations: 274.9 kB / 0.5291 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1258, allocations: 29.7 kB / 0.5292 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1259, allocations: 144 kB / 0.5293 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.126, allocations: 31.73 kB / 0.5293 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.126, allocations: 25.72 kB / 0.5294 GB, free: 13.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1262, allocations: 338.8 kB / 0.5297 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.1262, allocations: 27.98 kB / 0.5297 GB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.1263, allocations: 54.56 kB / 0.5298 GB, free: 12.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.1268, allocations: 158.4 kB / 0.5299 GB, free: 12.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1268, allocations: 0 / 0.5299 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002178/0.127, allocations: 141.4 kB / 0.53 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.127, allocations: 4 kB / 0.53 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.127, allocations: 0 / 0.53 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1271, allocations: 0 / 0.53 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1272, allocations: 31.98 kB / 0.5301 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1272, allocations: 3.938 kB / 0.5301 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.1273, allocations: 15.95 kB / 0.5301 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1273, allocations: 7.938 kB / 0.5301 GB, free: 12.45 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.0001725/0.1275, allocations: 133.8 kB / 0.5302 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.1275, allocations: 23.86 kB / 0.5303 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1276, allocations: 29.67 kB / 0.5303 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1276, allocations: 4 kB / 0.5303 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1276, allocations: 3.938 kB / 0.5303 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1276, allocations: 0 / 0.5303 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.1279, allocations: 249.5 kB / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1279, allocations: 0 / 0.5305 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.128, allocations: 19.98 kB / 0.5305 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.128, allocations: 0 / 0.5305 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.128, allocations: 0 / 0.5305 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.128, allocations: 0 / 0.5305 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.128, allocations: 7.938 kB / 0.5306 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1283, allocations: 235.3 kB / 0.5308 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.1284, allocations: 108.9 kB / 0.5309 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1284, allocations: 0 / 0.5309 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1285, allocations: 4 kB / 0.5309 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.1286, allocations: 11.92 kB / 0.5309 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.1286, allocations: 4 kB / 0.5309 GB, free: 11.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1287, allocations: 194 kB / 0.5311 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1287, allocations: 3.938 kB / 0.5311 GB, free: 11.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.129, allocations: 40.06 kB / 0.5311 GB, free: 11.31 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.0005629/0.1295, allocations: 0.7672 MB / 0.5319 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1297, allocations: 71.84 kB / 0.5319 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1297, allocations: 0 / 0.5319 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.1298, allocations: 36.64 kB / 0.532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1301, allocations: 48.95 kB / 0.532 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.1327, allocations: 2.301 MB / 0.5343 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.133, allocations: 0.7363 MB / 0.535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1331, allocations: 30.27 kB / 0.535 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.1332, allocations: 63.42 kB / 0.5351 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1332, allocations: 0 / 0.5351 GB, free: 7.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1595, allocations: 4.671 MB / 0.5396 GB, free: 2.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.051, allocations: 9.078 kB / 0.5397 GB, free: 2.512 MB / 398.1 MB " [Timeout remaining time 652] (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: 10.568711136002094] Failed to read output from testmodel.py, exit status != 0: 8.130915188230574 8.145108812 8.020106828 Calling exit ...