Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.001393/0.001393, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001497/0.001497, allocations: 224.3 kB / 23.03 MB, free: 4.945 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002013/0.002013, allocations: 68.27 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 169.9 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002737/0.3145, allocations: 1.53 MB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.3147, allocations: 139.6 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.3148, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.3148, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.3149, allocations: 15.88 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.092e-05/0.3149, allocations: 7.984 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.315, allocations: 51.78 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.3151, allocations: 8 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.3152, allocations: 19.97 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.3152, allocations: 23.86 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3153, allocations: 4 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.3153, allocations: 4 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.3153, allocations: 7.984 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.3153, allocations: 11.94 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.933e-05/0.3154, allocations: 43.41 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3154, allocations: 7.984 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3154, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3154, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000512/0.3159, allocations: 291.6 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.316, allocations: 15.97 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.74e-05/0.316, allocations: 192 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.316, allocations: 30.75 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.316, allocations: 12.94 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3162, allocations: 118.5 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.3162, allocations: 384 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.3162, allocations: 384 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3164, allocations: 73.97 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3164, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3164, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3164, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.3167, allocations: 71.86 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.3171, allocations: 228 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3173, allocations: 54.53 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3174, allocations: 32.92 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3174, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3175, allocations: 38.55 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3175, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005074/0.318, allocations: 129.5 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.318, allocations: 51.41 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.3181, allocations: 113.8 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3181, allocations: 25.7 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.3182, allocations: 96.08 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3182, allocations: 11.89 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3182, allocations: 13.72 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3184, allocations: 318.8 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3185, allocations: 31.95 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3186, allocations: 33.78 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3189, allocations: 72.72 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3189, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003092/0.3192, allocations: 93.91 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3192, allocations: 8 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3193, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3193, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3194, allocations: 20.02 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3194, allocations: 3.938 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.3195, allocations: 11.97 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3195, allocations: 4 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.868e-05/0.3196, allocations: 113.8 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3196, allocations: 7.953 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3196, allocations: 8 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3196, allocations: 7.938 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3196, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3196, allocations: 3.938 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3198, allocations: 144.7 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3198, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.3199, allocations: 11.98 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3199, allocations: 0 / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3199, allocations: 0 / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3199, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3199, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.3203, allocations: 199.4 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.3203, allocations: 7.953 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.3203, allocations: 0 / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3204, allocations: 11.98 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.3204, allocations: 7.984 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3204, allocations: 0 / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.3205, allocations: 87.28 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3205, allocations: 4 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.3207, allocations: 11.94 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0006834/0.3214, allocations: 0.7202 MB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.3217, allocations: 71.92 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3217, allocations: 0 / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3219, allocations: 39.89 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3222, allocations: 12.48 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.3227, allocations: 172.5 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.3227, allocations: 71.3 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.3228, allocations: 4 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.3228, allocations: 23.36 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3228, allocations: 0 / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3441, allocations: 1.99 MB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.39, allocations: 14.91 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.21275496389717] Failed to read output from testmodel.py, exit status != 0: 12.107012685970403 11.576772309 11.256391112 Calling exit ...