Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00173/0.00173, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002164/0.002164, allocations: 215 kB / 20.13 MB, free: 2.949 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.555/1.555, 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/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.014/3.014, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_12_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.002347/0.002347, allocations: 67.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9275/0.9299, allocations: 176.1 MB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002207/0.9321, allocations: 1.524 MB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002208/0.9323, allocations: 154.4 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.9323, allocations: 2.75 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.9324, allocations: 3.938 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.9324, allocations: 7.875 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.86e-05/0.9325, allocations: 12.62 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.9326, allocations: 49.06 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.9327, allocations: 12.92 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.084e-05/0.9327, allocations: 19.09 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.9328, allocations: 21.2 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.9328, allocations: 6.688 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.9328, allocations: 4.875 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.9328, allocations: 7.281 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.9328, allocations: 20.2 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.051e-05/0.9329, allocations: 37.31 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9329, allocations: 2.969 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9329, allocations: 0 / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.9329, allocations: 0 / 1.323 GB, free: 23.46 MB / 1.061 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.0004775/0.9334, allocations: 371.4 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9334, allocations: 11.92 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.9335, allocations: 2.781 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.033e-05/0.9335, allocations: 30.75 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.9335, allocations: 7.812 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.547e-05/0.9336, allocations: 174.5 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.9336, allocations: 4.375 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.9336, allocations: 3.375 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.9339, allocations: 70.7 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9339, allocations: 0 / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.9339, allocations: 7.938 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.9339, allocations: 2.312 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.9342, allocations: 62.75 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.9345, allocations: 271.9 kB / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.9347, allocations: 57.69 kB / 1.324 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.9348, allocations: 35.8 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.9348, allocations: 2.812 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.9348, allocations: 38.5 kB / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.9348, allocations: 0 / 1.324 GB, free: 22.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005221/0.9354, allocations: 128 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.9354, allocations: 55.41 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.9355, allocations: 113.1 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.9355, allocations: 25.7 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.9355, allocations: 84.14 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.9355, allocations: 14.05 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.9355, allocations: 12.69 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.9356, allocations: 318.8 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.9357, allocations: 31.34 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.9359, allocations: 37.59 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.9361, allocations: 66.91 kB / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9361, allocations: 0 / 1.325 GB, free: 21.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002996/0.9364, allocations: 100 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.9364, allocations: 5.438 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.9364, allocations: 336 / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9365, allocations: 2.844 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.9366, allocations: 20.09 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.9366, allocations: 0 / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.9367, allocations: 12.53 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.9367, allocations: 4.312 kB / 1.325 GB, free: 21.64 MB / 1.061 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 4.352e-05/0.9367, allocations: 120.7 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.9367, allocations: 7.938 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.9368, allocations: 14.42 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9368, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9368, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.9368, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.9369, allocations: 172.3 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9369, allocations: 3.938 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/0.937, allocations: 20.47 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.937, allocations: 2.938 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.937, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.937, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.937, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.9373, allocations: 200.7 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.9373, allocations: 81.06 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.9373, allocations: 2.562 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.9375, allocations: 8.547 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.9375, allocations: 6.172 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.9375, allocations: 0 / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.9375, allocations: 98.5 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9375, allocations: 3.938 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002164/0.9377, allocations: 8.031 kB / 1.326 GB, free: 20.94 MB / 1.061 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.0004978/0.9382, allocations: 0.7311 MB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.9386, allocations: 68.78 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9386, allocations: 0 / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.9387, allocations: 43.61 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.9391, allocations: 2.719 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.9395, allocations: 175.3 kB / 1.327 GB, free: 20.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.9396, allocations: 0.684 MB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.9396, allocations: 2.5 kB / 1.328 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.9396, allocations: 14.67 kB / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9396, allocations: 0 / 1.328 GB, free: 19.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.9569, allocations: 1.823 MB / 1.33 GB, free: 18.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/9.161, allocations: 11.16 kB / 1.33 GB, free: 18.98 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.749281946045812] Failed to read output from testmodel.py, exit status != 0: 9.290791570965666 9.31233274 8.375265445 Calling exit ...