Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0009654/0.0009654, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001282/0.001282, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9514/0.9514, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.35/2.35, allocations: 0.5556 GB / 0.8607 GB, free: 30.87 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009744/0.0009744, allocations: 64.08 kB / 1.253 GB, free: 22.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.35, allocations: 193.3 MB / 1.442 GB, free: 10.91 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002064/0.352, allocations: 1.451 MB / 1.443 GB, free: 9.453 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0005927/0.3526, allocations: 442.8 kB / 1.444 GB, free: 9.016 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.3527, allocations: 0 / 1.444 GB, free: 9.016 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.3527, allocations: 0 / 1.444 GB, free: 9.016 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.3527, allocations: 3.938 kB / 1.444 GB, free: 9.012 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.353, allocations: 19.92 kB / 1.444 GB, free: 8.992 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.3531, allocations: 27.92 kB / 1.444 GB, free: 8.965 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.3531, allocations: 8 kB / 1.444 GB, free: 8.957 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3533, allocations: 27.84 kB / 1.444 GB, free: 8.93 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.3533, allocations: 11.92 kB / 1.444 GB, free: 8.918 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3533, allocations: 0 / 1.444 GB, free: 8.918 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 3.878e-05/0.3534, allocations: 4 kB / 1.444 GB, free: 8.914 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.3534, allocations: 4 kB / 1.444 GB, free: 8.91 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3534, allocations: 7.938 kB / 1.444 GB, free: 8.902 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3535, allocations: 36.11 kB / 1.444 GB, free: 8.867 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3535, allocations: 0 / 1.444 GB, free: 8.867 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3535, allocations: 0 / 1.444 GB, free: 8.867 MB / 1.12 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3535, allocations: 4 kB / 1.444 GB, free: 8.863 MB / 1.12 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.0004665/0.354, allocations: 271.3 kB / 1.444 GB, free: 8.57 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.354, allocations: 8.031 kB / 1.444 GB, free: 8.562 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.3541, allocations: 30.75 kB / 1.444 GB, free: 8.523 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3542, allocations: 12.92 kB / 1.444 GB, free: 8.512 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3544, allocations: 114.5 kB / 1.444 GB, free: 8.375 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3544, allocations: 4.375 kB / 1.444 GB, free: 8.371 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.3544, allocations: 4.375 kB / 1.444 GB, free: 8.367 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3545, allocations: 45.73 kB / 1.444 GB, free: 8.316 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3545, allocations: 8 kB / 1.444 GB, free: 8.309 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3546, allocations: 4 kB / 1.444 GB, free: 8.305 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3546, allocations: 0 / 1.444 GB, free: 8.305 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.962e-05/0.3546, allocations: 11.98 kB / 1.444 GB, free: 8.293 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.3549, allocations: 224 kB / 1.444 GB, free: 8.031 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.355, allocations: 30.5 kB / 1.444 GB, free: 7.992 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.355, allocations: 20.91 kB / 1.444 GB, free: 7.969 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.355, allocations: 0 / 1.444 GB, free: 7.969 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3551, allocations: 38.56 kB / 1.445 GB, free: 7.922 MB / 1.12 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3551, allocations: 3.938 kB / 1.445 GB, free: 7.918 MB / 1.12 GB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.3553, allocations: 65.61 kB / 1.445 GB, free: 7.848 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.3553, allocations: 51.41 kB / 1.445 GB, free: 7.785 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.3554, allocations: 109.8 kB / 1.445 GB, free: 7.668 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.3554, allocations: 25.7 kB / 1.445 GB, free: 7.637 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.3554, allocations: 92.09 kB / 1.445 GB, free: 7.543 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3554, allocations: 7.891 kB / 1.445 GB, free: 7.535 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.3555, allocations: 9.719 kB / 1.445 GB, free: 7.52 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.3555, allocations: 330.9 kB / 1.445 GB, free: 7.188 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.3556, allocations: 4 kB / 1.445 GB, free: 7.184 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.3556, allocations: 11.98 kB / 1.445 GB, free: 7.172 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.3556, allocations: 20.86 kB / 1.445 GB, free: 7.148 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3556, allocations: 0 / 1.445 GB, free: 7.148 MB / 1.12 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.144e-05/0.3557, allocations: 57.67 kB / 1.445 GB, free: 7.086 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3557, allocations: 5.875 kB / 1.445 GB, free: 7.082 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3557, allocations: 4.094 kB / 1.445 GB, free: 7.078 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3558, allocations: 0 / 1.445 GB, free: 7.078 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.3558, allocations: 7.938 kB / 1.445 GB, free: 7.07 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3558, allocations: 0 / 1.445 GB, free: 7.07 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.3559, allocations: 7.984 kB / 1.445 GB, free: 7.062 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3559, allocations: 0 / 1.445 GB, free: 7.062 MB / 1.12 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.439e-05/0.3559, allocations: 109.8 kB / 1.445 GB, free: 6.945 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.3559, allocations: 4 kB / 1.445 GB, free: 6.941 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.3559, allocations: 7.625 kB / 1.445 GB, free: 6.934 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3559, allocations: 0 / 1.445 GB, free: 6.934 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.356, allocations: 4 kB / 1.445 GB, free: 6.93 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.356, allocations: 4 kB / 1.445 GB, free: 6.926 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3561, allocations: 132.6 kB / 1.446 GB, free: 6.754 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3561, allocations: 0 / 1.446 GB, free: 6.754 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.3561, allocations: 7.984 kB / 1.446 GB, free: 6.746 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3561, allocations: 0 / 1.446 GB, free: 6.746 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3561, allocations: 0 / 1.446 GB, free: 6.746 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3561, allocations: 4 kB / 1.446 GB, free: 6.742 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3561, allocations: 0 / 1.446 GB, free: 6.742 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3562, allocations: 151.4 kB / 1.446 GB, free: 6.578 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.3562, allocations: 4.031 kB / 1.446 GB, free: 6.574 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3562, allocations: 11.98 kB / 1.446 GB, free: 6.562 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.3562, allocations: 3.938 kB / 1.446 GB, free: 6.559 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.3563, allocations: 3.984 kB / 1.446 GB, free: 6.555 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3563, allocations: 8 kB / 1.446 GB, free: 6.547 MB / 1.12 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.3563, allocations: 87.25 kB / 1.446 GB, free: 6.461 MB / 1.12 GB Notification: Performance of sort global known variables: time 6e-08/0.3563, allocations: 0 / 1.446 GB, free: 6.461 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001421/0.3565, allocations: 11.94 kB / 1.446 GB, free: 6.449 MB / 1.12 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.0002918/0.3567, allocations: 0.6857 MB / 1.447 GB, free: 5.738 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.3568, allocations: 23.92 kB / 1.447 GB, free: 5.715 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3568, allocations: 0 / 1.447 GB, free: 5.715 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.3569, allocations: 12 kB / 1.447 GB, free: 5.703 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.357, allocations: 0 / 1.447 GB, free: 5.703 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009104/0.3579, allocations: 1.229 MB / 1.448 GB, free: 4.395 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.358, allocations: 63.34 kB / 1.448 GB, free: 4.312 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.358, allocations: 3.984 kB / 1.448 GB, free: 4.309 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.3581, allocations: 11.44 kB / 1.448 GB, free: 4.297 MB / 1.12 GB Notification: Performance of SimCode: time 5.61e-07/0.3581, allocations: 0 / 1.448 GB, free: 4.297 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.3767, allocations: 1.737 MB / 1.45 GB, free: 2.719 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/7.018, allocations: 12.53 kB / 1.45 GB, free: 2.711 MB / 1.12 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 12.222188867628574]