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.001372/0.001372, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001617/0.001617, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.1041/0.1041, allocations: 22.94 MB / 336.2 MB, free: 12.59 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_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.002028/0.002028, allocations: 59.91 kB / 472.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 59.28 MB / 0.5191 GB, free: 10.58 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.0348/0.3603, allocations: 22.73 MB / 0.5413 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.3609, allocations: 213 kB / 0.5415 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3611, allocations: 16.16 kB / 0.5415 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.17e-05/0.3612, allocations: 29.94 kB / 0.5416 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.3614, allocations: 106.2 kB / 0.5417 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.3615, allocations: 40.41 kB / 0.5417 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.3618, allocations: 290.5 kB / 0.542 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.362, allocations: 110.3 kB / 0.5421 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3621, allocations: 135.8 kB / 0.5422 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3623, allocations: 91.58 kB / 0.5423 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.3623, allocations: 17.44 kB / 0.5423 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.3623, allocations: 13.75 kB / 0.5423 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.3624, allocations: 28.27 kB / 0.5423 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.228e-05/0.3625, allocations: 106.4 kB / 0.5424 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3627, allocations: 222.8 kB / 0.5427 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3627, allocations: 1.375 kB / 0.5427 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3627, allocations: 0 / 0.5427 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3627, allocations: 4 kB / 0.5427 GB, free: 1.777 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005551/0.3632, allocations: 446.3 kB / 0.5431 GB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3633, allocations: 10.52 kB / 0.5431 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.625e-05/0.3633, allocations: 8.25 kB / 0.5431 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.3633, allocations: 45.59 kB / 0.5432 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3633, allocations: 23.8 kB / 0.5432 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3636, allocations: 217 kB / 0.5434 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3636, allocations: 13.81 kB / 0.5434 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3636, allocations: 12.62 kB / 0.5434 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3639, allocations: 162.1 kB / 0.5436 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3639, allocations: 1.375 kB / 0.5436 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3639, allocations: 5.375 kB / 0.5436 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3639, allocations: 2.75 kB / 0.5436 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3641, allocations: 100.5 kB / 0.5437 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.3647, allocations: 0.7702 MB / 0.5444 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3649, allocations: 74.45 kB / 0.5445 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.3649, allocations: 37.03 kB / 0.5445 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3649, allocations: 0 / 0.5445 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.365, allocations: 36.58 kB / 0.5446 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.365, allocations: 0 / 0.5446 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002824/0.3652, allocations: 127.8 kB / 0.5447 GB, free: 120 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3653, allocations: 57.58 kB / 0.5447 GB, free: 52 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.3656, allocations: 272.7 kB / 0.545 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3656, allocations: 26.45 kB / 0.545 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3657, allocations: 142.3 kB / 0.5452 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.3658, allocations: 34.12 kB / 0.5452 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.3658, allocations: 31.5 kB / 0.5452 GB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.366, allocations: 335.6 kB / 0.5455 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.3661, allocations: 32.11 kB / 0.5456 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.3662, allocations: 48.75 kB / 0.5456 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.3667, allocations: 159.7 kB / 0.5458 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3667, allocations: 0 / 0.5458 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002574/0.367, allocations: 135.2 kB / 0.5459 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.367, allocations: 5.578 kB / 0.5459 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.367, allocations: 5.094 kB / 0.5459 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.367, allocations: 5.188 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3672, allocations: 28.34 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3672, allocations: 1.922 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3673, allocations: 11.86 kB / 0.546 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3673, allocations: 8.375 kB / 0.546 GB, free: 15.13 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.0002002/0.3675, allocations: 146 kB / 0.5461 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.3676, allocations: 21.89 kB / 0.5461 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.3676, allocations: 28.36 kB / 0.5462 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3677, allocations: 5.094 kB / 0.5462 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3677, allocations: 4 kB / 0.5462 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3677, allocations: 1.734 kB / 0.5462 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.368, allocations: 209.1 kB / 0.5464 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.368, allocations: 1.547 kB / 0.5464 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3681, allocations: 21.69 kB / 0.5464 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3681, allocations: 0.6562 kB / 0.5464 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3681, allocations: 1.281 kB / 0.5464 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3681, allocations: 9.219 kB / 0.5464 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3681, allocations: 0.5625 kB / 0.5464 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3685, allocations: 229.8 kB / 0.5466 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.3685, allocations: 28.02 kB / 0.5466 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.3685, allocations: 2.172 kB / 0.5466 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3686, allocations: 7.938 kB / 0.5466 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.3687, allocations: 5.922 kB / 0.5467 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3687, allocations: 6.125 kB / 0.5467 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.3689, allocations: 193.1 kB / 0.5468 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 0.5468 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3692, allocations: 38.78 kB / 0.5469 GB, free: 14.43 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.0005937/0.3697, allocations: 0.7721 MB / 0.5476 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.37, allocations: 73.66 kB / 0.5477 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.37, allocations: 0 / 0.5477 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.37, allocations: 32.67 kB / 0.5477 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3704, allocations: 56.52 kB / 0.5478 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.3733, allocations: 2.318 MB / 0.5501 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3737, allocations: 0.731 MB / 0.5508 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3738, allocations: 36.94 kB / 0.5508 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3739, allocations: 60.88 kB / 0.5509 GB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3739, allocations: 0 / 0.5509 GB, free: 10.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4006, allocations: 4.87 MB / 0.5556 GB, free: 7.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 10.62 kB / 0.5556 GB, free: 7.742 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.659092660993338] Failed to read output from testmodel.py, exit status != 0: 12.14488211000571 12.174509799 11.806136626 Calling exit ...