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.0007893/0.0007893, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.001027/0.001027, allocations: 165.2 kB / 23.23 MB, free: 1.336 MB / 18.57 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 0.8741/0.8741, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.06141/0.06141, allocations: 18.12 MB / 278.1 MB, free: 11.55 MB / 266.7 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="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 1.363e-06/1.363e-06, allocations: 0 / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.831e-05, allocations: 2.281 kB / 415.1 MB, free: 12.69 MB / 330.7 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.01663/0.01665, allocations: 23.23 MB / 438.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.01725, allocations: 206.1 kB / 438.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.01736, allocations: 19.81 kB / 438.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.717e-05/0.01743, allocations: 37.55 kB / 438.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.01763, allocations: 110.3 kB / 438.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.01778, allocations: 36.97 kB / 438.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.01803, allocations: 299.8 kB / 439 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.01827, allocations: 108.3 kB / 439.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.01847, allocations: 124.9 kB / 439.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.01858, allocations: 69.25 kB / 439.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.01865, allocations: 16 kB / 439.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.01867, allocations: 12 kB / 439.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.0187, allocations: 33.16 kB / 439.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.01877, allocations: 73.31 kB / 439.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.019, allocations: 213.6 kB / 439.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.019, allocations: 0 / 439.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.019, allocations: 8.5 kB / 439.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01901, allocations: 0 / 439.6 MB, free: 14.71 MB / 346.7 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.0005603/0.01957, allocations: 443.6 kB / 440.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.01961, allocations: 8.922 kB / 440.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.01965, allocations: 49.56 kB / 440.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.01968, allocations: 21.55 kB / 440.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.01998, allocations: 215.1 kB / 440.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.01999, allocations: 8.375 kB / 440.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.02001, allocations: 12.38 kB / 440.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.02021, allocations: 163.2 kB / 440.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.02022, allocations: 4.125 kB / 440.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.02023, allocations: 8.781 kB / 440.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.02024, allocations: 4 kB / 440.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.02037, allocations: 91.52 kB / 440.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.02096, allocations: 0.7495 MB / 441.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.0211, allocations: 76.7 kB / 441.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.02116, allocations: 36.47 kB / 441.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.02117, allocations: 0 / 441.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.02119, allocations: 31.31 kB / 441.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.02119, allocations: 0 / 441.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000227/0.02142, allocations: 128.6 kB / 441.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.02145, allocations: 52.06 kB / 441.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.02165, allocations: 269.9 kB / 442 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.02167, allocations: 29.7 kB / 442 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.0219, allocations: 147.4 kB / 442.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.02192, allocations: 34.42 kB / 442.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.02196, allocations: 27.03 kB / 442.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.02206, allocations: 338.5 kB / 442.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.02211, allocations: 30.7 kB / 442.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.02216, allocations: 51.5 kB / 442.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.02249, allocations: 167.1 kB / 442.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.02249, allocations: 0 / 442.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001374/0.02263, allocations: 131.5 kB / 442.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.02264, allocations: 8.75 kB / 442.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.02265, allocations: 80 / 442.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.02266, allocations: 0 / 442.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.02276, allocations: 39.17 kB / 443 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.02277, allocations: 4.734 kB / 443 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.02282, allocations: 23.84 kB / 443 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.02283, allocations: 8.688 kB / 443 MB, free: 11.33 MB / 346.7 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.0001278/0.02295, allocations: 127.4 kB / 443.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.02298, allocations: 24.56 kB / 443.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.02301, allocations: 33.28 kB / 443.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.02302, allocations: 0 / 443.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02302, allocations: 0 / 443.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.02302, allocations: 0.7031 kB / 443.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.02319, allocations: 203 kB / 443.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.02319, allocations: 0 / 443.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.02327, allocations: 23.03 kB / 443.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.02327, allocations: 0 / 443.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.02328, allocations: 0.7969 kB / 443.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.02328, allocations: 4 kB / 443.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02328, allocations: 0 / 443.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.02349, allocations: 244.2 kB / 443.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.02352, allocations: 25.95 kB / 443.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.02353, allocations: 0.6094 kB / 443.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.02359, allocations: 0 / 443.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.02361, allocations: 10.81 kB / 443.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.02361, allocations: 0.7031 kB / 443.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.02373, allocations: 194.3 kB / 443.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02373, allocations: 0 / 443.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.02391, allocations: 47.88 kB / 443.9 MB, free: 10.41 MB / 346.7 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.0003555/0.02426, allocations: 0.7663 MB / 444.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.0244, allocations: 70.45 kB / 444.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0244, allocations: 0 / 444.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.02444, allocations: 34.8 kB / 444.8 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.02471, allocations: 52.2 kB / 444.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.02684, allocations: 2.249 MB / 447.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.02696, allocations: 125 kB / 447.2 MB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.366e-05/0.02705, allocations: 32.77 kB / 447.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.02712, allocations: 61.61 kB / 447.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02712, allocations: 4 kB / 447.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.04338, allocations: 5.596 MB / 452.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/6.938, allocations: 3.938 kB / 452.9 MB, free: 2.859 MB / 346.7 MB " [Timeout remaining time 653] (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: 8.757947003468871] Failed to read output from testmodel.py, exit status != 0: 7.017681116238236 7.026269459 7.005651617 Calling exit ...