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.0008037/0.0008037, 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.0008086/0.0008086, 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.8936/0.8936, allocations: 177.1 MB / 203.1 MB, free: 5.27 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.933/1.933, allocations: 428.6 MB / 0.672 GB, free: 4.895 MB / 0.6355 GB " [Timeout remaining time 178] 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.273e-06/1.273e-06, allocations: 0 / 0.8758 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.31e-05, allocations: 10.25 kB / 0.8758 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.001661/0.001674, allocations: 1.46 MB / 0.8773 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000536/0.00221, allocations: 451.5 kB / 0.8777 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.002259, allocations: 1.25 kB / 0.8777 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.00228, allocations: 3.938 kB / 0.8777 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.002319, allocations: 3.938 kB / 0.8777 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.002509, allocations: 24.69 kB / 0.8777 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.981e-05/0.002589, allocations: 19.94 kB / 0.8777 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.002667, allocations: 12.53 kB / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.002772, allocations: 28.95 kB / 0.8778 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.002807, allocations: 4 kB / 0.8778 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.00282, allocations: 4 kB / 0.8778 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.002857, allocations: 8.641 kB / 0.8778 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.002866, allocations: 4 kB / 0.8778 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.002883, allocations: 9.422 kB / 0.8778 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.002968, allocations: 27.97 kB / 0.8778 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.00297, allocations: 3.938 kB / 0.8778 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002971, allocations: 0 / 0.8778 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002974, allocations: 3.844 kB / 0.8778 GB, free: 6.336 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.0002968/0.003271, allocations: 262.3 kB / 0.8781 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.003305, allocations: 8.031 kB / 0.8781 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.403e-05/0.003329, allocations: 34.75 kB / 0.8781 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.003429, allocations: 16.88 kB / 0.8781 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.003557, allocations: 113.7 kB / 0.8783 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.003567, allocations: 8.375 kB / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.003574, allocations: 384 / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.003667, allocations: 43.17 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.003673, allocations: 192 / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.003683, allocations: 12.06 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.003688, allocations: 5.031 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.003736, allocations: 15.92 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.003949, allocations: 213.2 kB / 0.8785 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.004008, allocations: 34.55 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.004041, allocations: 25.88 kB / 0.8786 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.004052, allocations: 0 / 0.8786 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.004069, allocations: 31.62 kB / 0.8786 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.004069, allocations: 0 / 0.8786 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.004231, allocations: 70.86 kB / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.004254, allocations: 51.41 kB / 0.8787 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.00431, allocations: 111.1 kB / 0.8788 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.004318, allocations: 25.7 kB / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.004354, allocations: 88.14 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.004367, allocations: 4.547 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.004386, allocations: 9.719 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.004457, allocations: 320.2 kB / 0.8793 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.004478, allocations: 7.984 kB / 0.8793 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.004494, allocations: 4 kB / 0.8793 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.004536, allocations: 30.19 kB / 0.8793 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004537, allocations: 4 kB / 0.8793 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.752e-05/0.004605, allocations: 67.28 kB / 0.8794 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.004617, allocations: 6.5 kB / 0.8794 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.004621, allocations: 0 / 0.8794 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.004632, allocations: 3.5 kB / 0.8794 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.004678, allocations: 4 kB / 0.8794 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.004682, allocations: 0 / 0.8794 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.004698, allocations: 7.984 kB / 0.8794 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.004702, allocations: 0 / 0.8794 GB, free: 4.555 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 4.38e-05/0.004746, allocations: 109.8 kB / 0.8795 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.00476, allocations: 3.938 kB / 0.8795 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.004774, allocations: 7.625 kB / 0.8795 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004775, allocations: 0 / 0.8795 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.004778, allocations: 4.812 kB / 0.8795 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.004781, allocations: 0 / 0.8795 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.004871, allocations: 125 kB / 0.8796 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.004873, allocations: 11.88 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.004888, allocations: 11.92 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.004889, allocations: 0 / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.004895, allocations: 4 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004896, allocations: 0 / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.004897, allocations: 0 / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.004981, allocations: 143.5 kB / 0.8798 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.004986, allocations: 7.938 kB / 0.8798 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.004997, allocations: 7.984 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.005027, allocations: 8.031 kB / 0.8798 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.005053, allocations: 4 kB / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005055, allocations: 0 / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.727e-05/0.005082, allocations: 83.27 kB / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005082, allocations: 0 / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001422/0.005224, allocations: 8 kB / 0.8799 GB, free: 3.961 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.000239/0.005463, allocations: 0.6811 MB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.005542, allocations: 24.02 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.005543, allocations: 0 / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.005565, allocations: 15.94 kB / 0.8806 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.005713, allocations: 7.938 kB / 0.8806 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.00653, allocations: 1.218 MB / 0.8818 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.006565, allocations: 63.45 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.006586, allocations: 7.984 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.006617, allocations: 12.5 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.006618, allocations: 0 / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.02027, allocations: 1.956 MB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.879, allocations: 3.25 kB / 0.8838 GB, free: 15.99 MB / 0.8542 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 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.762862078845501]