Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.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.001115/0.001115, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009784/0.0009784, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.982/1.982, allocations: 428.5 MB / 0.6716 GB, free: 5.074 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.ChillerSwitch,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 1.064 GB, free: 34.12 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.825e-05, allocations: 2.281 kB / 1.064 GB, free: 34.12 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001955/0.001973, allocations: 1.7 MB / 1.066 GB, free: 32.96 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006345/0.002607, allocations: 0.4912 MB / 1.066 GB, free: 32.63 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.002672, allocations: 0 / 1.066 GB, free: 32.63 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.0027, allocations: 14.08 kB / 1.066 GB, free: 32.62 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.002771, allocations: 11.81 kB / 1.066 GB, free: 32.61 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.002989, allocations: 52.97 kB / 1.066 GB, free: 32.58 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.003103, allocations: 88.08 kB / 1.066 GB, free: 32.54 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003204, allocations: 20.73 kB / 1.066 GB, free: 32.52 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.003345, allocations: 56.64 kB / 1.066 GB, free: 32.5 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.003402, allocations: 26.97 kB / 1.066 GB, free: 32.49 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.003422, allocations: 8.5 kB / 1.066 GB, free: 32.49 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.692e-05/0.003469, allocations: 19.86 kB / 1.066 GB, free: 32.48 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.003484, allocations: 10.78 kB / 1.066 GB, free: 32.47 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.00351, allocations: 27.75 kB / 1.066 GB, free: 32.46 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.003645, allocations: 106.5 kB / 1.067 GB, free: 32.41 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.003648, allocations: 0 / 1.067 GB, free: 32.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003648, allocations: 0 / 1.067 GB, free: 32.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003653, allocations: 0 / 1.067 GB, free: 32.41 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003679/0.004021, allocations: 322.2 kB / 1.067 GB, free: 32.11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.004058, allocations: 8.75 kB / 1.067 GB, free: 32.11 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.592e-05/0.004084, allocations: 37.62 kB / 1.067 GB, free: 32.07 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.004227, allocations: 26.25 kB / 1.067 GB, free: 32.07 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.004415, allocations: 139.2 kB / 1.067 GB, free: 31.92 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004426, allocations: 4.375 kB / 1.067 GB, free: 31.92 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.004439, allocations: 9.344 kB / 1.067 GB, free: 31.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.004604, allocations: 113.8 kB / 1.067 GB, free: 31.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.004612, allocations: 4.188 kB / 1.067 GB, free: 31.82 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.004627, allocations: 6.875 kB / 1.067 GB, free: 31.81 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.004632, allocations: 0 / 1.067 GB, free: 31.81 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.004726, allocations: 48.89 kB / 1.067 GB, free: 31.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.005073, allocations: 283.4 kB / 1.067 GB, free: 31.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.005172, allocations: 47.45 kB / 1.068 GB, free: 31.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.005219, allocations: 31.58 kB / 1.068 GB, free: 31.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.005233, allocations: 0 / 1.068 GB, free: 31.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.00525, allocations: 37.34 kB / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005251, allocations: 0 / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.005492, allocations: 104.6 kB / 1.068 GB, free: 31.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005521, allocations: 81.11 kB / 1.068 GB, free: 31.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.005598, allocations: 132.7 kB / 1.068 GB, free: 31.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.005608, allocations: 32.55 kB / 1.068 GB, free: 31.15 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.005644, allocations: 106.2 kB / 1.068 GB, free: 31.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.005659, allocations: 10.11 kB / 1.068 GB, free: 31.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.005686, allocations: 19.56 kB / 1.068 GB, free: 31.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.146e-05/0.005717, allocations: 321.9 kB / 1.068 GB, free: 30.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.005763, allocations: 29.5 kB / 1.068 GB, free: 30.69 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.005813, allocations: 67.95 kB / 1.068 GB, free: 30.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.005888, allocations: 43.31 kB / 1.068 GB, free: 30.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00589, allocations: 2.781 kB / 1.068 GB, free: 30.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.005997, allocations: 91.55 kB / 1.069 GB, free: 30.56 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.00601, allocations: 9.656 kB / 1.069 GB, free: 30.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006015, allocations: 0 / 1.069 GB, free: 30.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006026, allocations: 0 / 1.069 GB, free: 30.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.006099, allocations: 15.53 kB / 1.069 GB, free: 30.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.006103, allocations: 0 / 1.069 GB, free: 30.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.00614, allocations: 9.219 kB / 1.069 GB, free: 30.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.006146, allocations: 2.844 kB / 1.069 GB, free: 30.55 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.075e-05/0.006197, allocations: 126.7 kB / 1.069 GB, free: 30.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.006213, allocations: 7.078 kB / 1.069 GB, free: 30.43 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.006239, allocations: 15.08 kB / 1.069 GB, free: 30.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006241, allocations: 0 / 1.069 GB, free: 30.41 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.006245, allocations: 0 / 1.069 GB, free: 30.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006247, allocations: 0 / 1.069 GB, free: 30.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.006351, allocations: 159.2 kB / 1.069 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006352, allocations: 0 / 1.069 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.006382, allocations: 9.203 kB / 1.069 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.006385, allocations: 2.812 kB / 1.069 GB, free: 30.24 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.006392, allocations: 8 kB / 1.069 GB, free: 30.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006393, allocations: 0 / 1.069 GB, free: 30.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006395, allocations: 192 / 1.069 GB, free: 30.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.006515, allocations: 180.8 kB / 1.069 GB, free: 30.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.006526, allocations: 6.938 kB / 1.069 GB, free: 30.08 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.006542, allocations: 6.781 kB / 1.069 GB, free: 30.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.006592, allocations: 13.05 kB / 1.069 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.006637, allocations: 9.422 kB / 1.069 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006641, allocations: 3.156 kB / 1.069 GB, free: 30.07 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.006674, allocations: 110.6 kB / 1.069 GB, free: 29.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.006674, allocations: 0 / 1.069 GB, free: 29.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001501/0.006824, allocations: 20.64 kB / 1.069 GB, free: 29.98 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002244/0.007048, allocations: 0.7171 MB / 1.07 GB, free: 29.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.00718, allocations: 52.41 kB / 1.07 GB, free: 29.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007181, allocations: 0 / 1.07 GB, free: 29.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.007222, allocations: 27.81 kB / 1.07 GB, free: 29.28 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.007425, allocations: 6.625 kB / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/0.008396, allocations: 1.457 MB / 1.071 GB, free: 28 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.008437, allocations: 80.83 kB / 1.072 GB, free: 27.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.008471, allocations: 6.406 kB / 1.072 GB, free: 27.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.008519, allocations: 23 kB / 1.072 GB, free: 27.9 MB / 1.01 GB Notification: Performance of SimCode: time 5.91e-07/0.00852, allocations: 0 / 1.072 GB, free: 27.9 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.02614, allocations: 2.847 MB / 1.074 GB, free: 26.97 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.816, allocations: 10.69 kB / 1.074 GB, free: 26.96 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 11.617239026352763]