Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.0008448/0.0008448, allocations: 80.45 kB / 19.96 MB, free: 4.598 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.0008336/0.0008336, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.9002/0.9002, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.809/1.809, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.381e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001781/0.001795, allocations: 1.45 MB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.002413, allocations: 443.7 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.002461, allocations: 3.938 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.002485, allocations: 3.938 kB / 1.003 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.979e-05/0.002524, allocations: 7.938 kB / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.002742, allocations: 23.89 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.002828, allocations: 27.86 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.002907, allocations: 4 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.003013, allocations: 23.92 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.003051, allocations: 15.92 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.003063, allocations: 4 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.665e-05/0.0031, allocations: 7.984 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-06/0.003109, allocations: 0 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.003126, allocations: 8 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.003212, allocations: 31.84 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003214, allocations: 0 / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003215, allocations: 0 / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.003218, allocations: 0 / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000296/0.003514, allocations: 266.3 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.003551, allocations: 13.34 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.003582, allocations: 30.75 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.003691, allocations: 16.88 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.003834, allocations: 109.8 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.003843, allocations: 384 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.003852, allocations: 4.375 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.003957, allocations: 50.17 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.003965, allocations: 192 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.003975, allocations: 4.125 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.00398, allocations: 4 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.285e-05/0.004032, allocations: 19.98 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.004279, allocations: 216 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.004342, allocations: 34.5 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.004378, allocations: 24.84 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.004389, allocations: 0 / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.004406, allocations: 30.56 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 2.845e-06/0.004409, allocations: 7.984 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.004581, allocations: 61.61 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.004609, allocations: 55.41 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.004677, allocations: 109.8 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.004688, allocations: 25.7 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.004722, allocations: 80.14 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.004739, allocations: 11.89 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.004763, allocations: 13.72 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.004838, allocations: 310.8 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.004865, allocations: 24.05 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.004883, allocations: 4 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.004927, allocations: 24.84 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00493, allocations: 0 / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.283e-05/0.005002, allocations: 57.61 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.005016, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005021, allocations: 4 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.005034, allocations: 96 / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.005091, allocations: 11.94 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005097, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.005114, allocations: 3.984 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.00512, allocations: 4 kB / 1.004 GB, free: 9.699 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 5.286e-05/0.005173, allocations: 109.8 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.005187, allocations: 11.89 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.005206, allocations: 3.625 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005207, allocations: 0 / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.00521, allocations: 0 / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.005214, allocations: 0 / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.005317, allocations: 136.7 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.00532, allocations: 3.938 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.005339, allocations: 7.984 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.005341, allocations: 0 / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.00535, allocations: 8 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.00535, allocations: 0 / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005351, allocations: 0 / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.157e-05/0.005443, allocations: 147.5 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.00545, allocations: 11.89 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.005462, allocations: 8.016 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.005492, allocations: 7.938 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.005517, allocations: 0 / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.005519, allocations: 0 / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.005548, allocations: 91.27 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005548, allocations: 0 / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001421/0.00569, allocations: 4 kB / 1.005 GB, free: 9.086 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.0002356/0.005926, allocations: 0.6773 MB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.006007, allocations: 31.95 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006009, allocations: 0 / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.006027, allocations: 4 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.006177, allocations: 4 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.007037, allocations: 1.225 MB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.007079, allocations: 71.34 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.0071, allocations: 7.984 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.007134, allocations: 8.5 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.007135, allocations: 0 / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/0.08252, allocations: 1.875 MB / 1.009 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.025, allocations: 5.438 kB / 1.009 GB, free: 5.188 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu) > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.443200692534447]