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.00101/0.00101, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001722/0.001722, allocations: 217.7 kB / 22.25 MB, free: 3.57 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.99/0.99, allocations: 230.6 MB / 256 MB, free: 9.59 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.429/2.429, allocations: 0.5556 GB / 0.8607 GB, free: 30.8 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.0009296/0.0009296, allocations: 68.7 kB / 1.253 GB, free: 22.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3198, allocations: 193.3 MB / 1.442 GB, free: 10.84 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002347/0.3222, allocations: 1.457 MB / 1.443 GB, free: 9.375 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.3228, allocations: 438.8 kB / 1.444 GB, free: 8.941 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.3229, allocations: 0 / 1.444 GB, free: 8.941 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.3229, allocations: 3.938 kB / 1.444 GB, free: 8.938 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.323, allocations: 7.875 kB / 1.444 GB, free: 8.93 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.3233, allocations: 23.92 kB / 1.444 GB, free: 8.906 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3234, allocations: 27.92 kB / 1.444 GB, free: 8.879 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3235, allocations: 7.984 kB / 1.444 GB, free: 8.871 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3236, allocations: 19.92 kB / 1.444 GB, free: 8.852 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.3237, allocations: 11.92 kB / 1.444 GB, free: 8.84 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3237, allocations: 0 / 1.444 GB, free: 8.84 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 4.942e-05/0.3237, allocations: 8 kB / 1.444 GB, free: 8.832 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.3238, allocations: 3.938 kB / 1.444 GB, free: 8.828 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.3238, allocations: 11.94 kB / 1.444 GB, free: 8.816 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3239, allocations: 32.11 kB / 1.444 GB, free: 8.785 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3239, allocations: 4 kB / 1.444 GB, free: 8.781 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3239, allocations: 0 / 1.444 GB, free: 8.781 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3239, allocations: 0 / 1.444 GB, free: 8.781 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.0004018/0.3243, allocations: 270.2 kB / 1.444 GB, free: 8.488 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.3244, allocations: 8.031 kB / 1.444 GB, free: 8.48 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.3244, allocations: 34.75 kB / 1.444 GB, free: 8.438 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.3245, allocations: 12.92 kB / 1.444 GB, free: 8.426 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3247, allocations: 114.5 kB / 1.444 GB, free: 8.289 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3248, allocations: 384 / 1.444 GB, free: 8.289 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3248, allocations: 8.375 kB / 1.444 GB, free: 8.281 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3249, allocations: 49.73 kB / 1.444 GB, free: 8.227 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3249, allocations: 4 kB / 1.444 GB, free: 8.223 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3249, allocations: 0 / 1.444 GB, free: 8.223 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3249, allocations: 0 / 1.444 GB, free: 8.223 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.325, allocations: 15.98 kB / 1.444 GB, free: 8.207 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.3253, allocations: 220 kB / 1.444 GB, free: 7.949 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/0.3254, allocations: 26.58 kB / 1.444 GB, free: 7.914 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.3254, allocations: 20.91 kB / 1.444 GB, free: 7.891 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3254, allocations: 3.938 kB / 1.444 GB, free: 7.887 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3254, allocations: 38.56 kB / 1.445 GB, free: 7.84 MB / 1.12 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3254, allocations: 0 / 1.445 GB, free: 7.84 MB / 1.12 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.3256, allocations: 57.67 kB / 1.445 GB, free: 7.777 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3257, allocations: 51.41 kB / 1.445 GB, free: 7.715 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.3257, allocations: 105.8 kB / 1.445 GB, free: 7.602 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3257, allocations: 25.7 kB / 1.445 GB, free: 7.57 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.3258, allocations: 92.09 kB / 1.445 GB, free: 7.477 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.3258, allocations: 16 kB / 1.445 GB, free: 7.461 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3258, allocations: 9.719 kB / 1.445 GB, free: 7.445 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.3259, allocations: 326.8 kB / 1.445 GB, free: 7.117 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.326, allocations: 7.938 kB / 1.445 GB, free: 7.109 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.326, allocations: 19.92 kB / 1.445 GB, free: 7.09 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.326, allocations: 20.86 kB / 1.445 GB, free: 7.066 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.326, allocations: 0 / 1.445 GB, free: 7.066 MB / 1.12 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.22e-05/0.3261, allocations: 57.73 kB / 1.445 GB, free: 7.004 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3261, allocations: 9.5 kB / 1.445 GB, free: 6.996 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3261, allocations: 0 / 1.445 GB, free: 6.996 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3261, allocations: 0 / 1.445 GB, free: 6.996 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.3262, allocations: 4 kB / 1.445 GB, free: 6.992 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3262, allocations: 0 / 1.445 GB, free: 6.992 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.3262, allocations: 7.984 kB / 1.445 GB, free: 6.984 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3262, allocations: 0 / 1.445 GB, free: 6.984 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 6.162e-05/0.3263, allocations: 113.7 kB / 1.445 GB, free: 6.863 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.3263, allocations: 4 kB / 1.445 GB, free: 6.859 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.3263, allocations: 11.66 kB / 1.445 GB, free: 6.848 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3263, allocations: 0 / 1.445 GB, free: 6.848 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3263, allocations: 0 / 1.445 GB, free: 6.848 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3263, allocations: 7.984 kB / 1.445 GB, free: 6.84 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3266, allocations: 132.6 kB / 1.446 GB, free: 6.668 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3266, allocations: 0 / 1.446 GB, free: 6.668 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.3266, allocations: 7.984 kB / 1.446 GB, free: 6.66 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3266, allocations: 0 / 1.446 GB, free: 6.66 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3266, allocations: 0 / 1.446 GB, free: 6.66 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3266, allocations: 8 kB / 1.446 GB, free: 6.652 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.3266, allocations: 0 / 1.446 GB, free: 6.652 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3267, allocations: 155.5 kB / 1.446 GB, free: 6.484 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.3267, allocations: 3.984 kB / 1.446 GB, free: 6.48 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3267, allocations: 4 kB / 1.446 GB, free: 6.477 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.3268, allocations: 0 / 1.446 GB, free: 6.477 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3268, allocations: 3.938 kB / 1.446 GB, free: 6.473 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3268, allocations: 4 kB / 1.446 GB, free: 6.469 MB / 1.12 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.3268, allocations: 91.56 kB / 1.446 GB, free: 6.379 MB / 1.12 GB Notification: Performance of sort global known variables: time 5e-08/0.3268, allocations: 0 / 1.446 GB, free: 6.379 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001427/0.327, allocations: 4 kB / 1.446 GB, free: 6.375 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.0003058/0.3273, allocations: 0.6897 MB / 1.447 GB, free: 5.66 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3274, allocations: 23.92 kB / 1.447 GB, free: 5.637 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3274, allocations: 0 / 1.447 GB, free: 5.637 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.3274, allocations: 8 kB / 1.447 GB, free: 5.629 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.3276, allocations: 0 / 1.447 GB, free: 5.629 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.3284, allocations: 1.227 MB / 1.448 GB, free: 4.32 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.3285, allocations: 63.34 kB / 1.448 GB, free: 4.238 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.3285, allocations: 7.922 kB / 1.448 GB, free: 4.23 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.3285, allocations: 15.38 kB / 1.448 GB, free: 4.215 MB / 1.12 GB Notification: Performance of SimCode: time 6.82e-07/0.3285, allocations: 0 / 1.448 GB, free: 4.215 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.3426, allocations: 1.734 MB / 1.45 GB, free: 2.641 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.812, allocations: 9.016 kB / 1.45 GB, free: 2.637 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 & /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: 11.965679736807942]