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.0008244/0.0008244, allocations: 96.7 kB / 19.44 MB, free: 356 kB / 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.0008778/0.0008778, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.8873/0.8873, allocations: 177.1 MB / 203.1 MB, free: 5.277 MB / 186.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 1.957/1.957, allocations: 428.6 MB / 0.672 GB, free: 4.941 MB / 0.6355 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 1.173e-06/1.173e-06, allocations: 3.938 kB / 0.8758 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.291e-05, allocations: 2.312 kB / 0.8758 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.001653/0.001666, allocations: 1.465 MB / 0.8773 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.002381, allocations: 450.6 kB / 0.8777 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.002427, allocations: 0 / 0.8777 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.002449, allocations: 3.938 kB / 0.8777 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.002493, allocations: 10.48 kB / 0.8777 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.002692, allocations: 19.86 kB / 0.8777 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.002775, allocations: 24.45 kB / 0.8777 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.002859, allocations: 9.234 kB / 0.8778 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.002968, allocations: 27.91 kB / 0.8778 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.003012, allocations: 4 kB / 0.8778 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.003027, allocations: 5.125 kB / 0.8778 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.003068, allocations: 4 kB / 0.8778 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.003081, allocations: 7.984 kB / 0.8778 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.003099, allocations: 9 kB / 0.8778 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.899e-05/0.003198, allocations: 35.83 kB / 0.8778 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.0032, allocations: 0 / 0.8778 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003201, allocations: 1.344 kB / 0.8778 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003204, allocations: 0 / 0.8778 GB, free: 6.352 MB / 0.8386 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.0002988/0.003503, allocations: 262.3 kB / 0.8781 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.003541, allocations: 13.12 kB / 0.8781 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.253e-05/0.003564, allocations: 30.75 kB / 0.8781 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.003665, allocations: 16.88 kB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.003795, allocations: 110.4 kB / 0.8783 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.003804, allocations: 5.562 kB / 0.8783 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.003811, allocations: 4.359 kB / 0.8783 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.227e-05/0.003904, allocations: 38.25 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.003909, allocations: 0.7188 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.003919, allocations: 16.94 kB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003924, allocations: 3.984 kB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.00398, allocations: 19.36 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.004208, allocations: 212.1 kB / 0.8785 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.004268, allocations: 30.56 kB / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.004302, allocations: 24.84 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.004313, allocations: 0 / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004332, allocations: 34.56 kB / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004333, allocations: 0 / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.004499, allocations: 63.75 kB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.004522, allocations: 51.41 kB / 0.8787 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.004581, allocations: 105.8 kB / 0.8788 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.004589, allocations: 25.7 kB / 0.8789 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.004625, allocations: 96.25 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.004638, allocations: 3.953 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.00466, allocations: 13.72 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.004734, allocations: 314.8 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.004756, allocations: 7.984 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.004773, allocations: 8 kB / 0.8793 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.004818, allocations: 28.78 kB / 0.8793 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00482, allocations: 0 / 0.8793 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.995e-05/0.00489, allocations: 65.64 kB / 0.8794 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.004904, allocations: 7.984 kB / 0.8794 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.004908, allocations: 0 / 0.8794 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.004919, allocations: 0 / 0.8794 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.004967, allocations: 4 kB / 0.8794 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.004972, allocations: 0 / 0.8794 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.004986, allocations: 4 kB / 0.8794 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.00499, allocations: 0 / 0.8794 GB, free: 4.578 MB / 0.8386 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.104e-05/0.005041, allocations: 117.8 kB / 0.8795 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.005056, allocations: 7.969 kB / 0.8795 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.005072, allocations: 11.62 kB / 0.8795 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.005075, allocations: 4 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005078, allocations: 0 / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.00508, allocations: 0 / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.675e-05/0.005177, allocations: 128.7 kB / 0.8796 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005179, allocations: 11.81 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.005193, allocations: 4 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.005194, allocations: 4 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005201, allocations: 3.984 kB / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005202, allocations: 0 / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005202, allocations: 4 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.039e-05/0.005293, allocations: 143.5 kB / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-06/0.0053, allocations: 7.938 kB / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.005308, allocations: 0 / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.00534, allocations: 11.98 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.005363, allocations: 0 / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.005364, allocations: 0 / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.005393, allocations: 83.27 kB / 0.8799 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005393, allocations: 0 / 0.8799 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001444/0.005537, allocations: 8.031 kB / 0.8799 GB, free: 3.973 MB / 0.8386 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.0002525/0.005789, allocations: 0.6812 MB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.005881, allocations: 23.97 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005882, allocations: 4 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.005903, allocations: 11.94 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.006089, allocations: 4 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.006953, allocations: 1.218 MB / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.893e-05/0.006992, allocations: 67.28 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.007011, allocations: 3.984 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.007043, allocations: 16.48 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.007044, allocations: 0 / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.02072, allocations: 1.961 MB / 0.8838 GB, free: 4 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.775, allocations: 6.031 kB / 0.8838 GB, free: 0 / 0.8386 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: 10.815498797222972]