Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.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.0008194/0.0008194, allocations: 96.7 kB / 19.44 MB, free: 352 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.001375/0.001375, allocations: 157.3 kB / 22.75 MB, free: 1.684 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.8767/0.8767, allocations: 177.1 MB / 203.1 MB, free: 5.289 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.887/1.887, allocations: 428.6 MB / 0.672 GB, free: 4.906 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.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8758 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.185e-05, allocations: 3.188 kB / 0.8758 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002013/0.002025, allocations: 2.002 MB / 0.8778 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.00285, allocations: 0.6951 MB / 0.8785 GB, free: 4.559 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.721e-05/0.002937, allocations: 4 kB / 0.8785 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003052, allocations: 35.59 kB / 0.8785 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.003127, allocations: 45.97 kB / 0.8785 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.003467, allocations: 167.7 kB / 0.8787 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.003776, allocations: 415.1 kB / 0.8791 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.004226, allocations: 213.6 kB / 0.8793 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.004391, allocations: 211.6 kB / 0.8795 GB, free: 3.492 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.004506, allocations: 100.8 kB / 0.8796 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.004544, allocations: 40 kB / 0.8796 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.004613, allocations: 51.98 kB / 0.8797 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.004673, allocations: 84.86 kB / 0.8798 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.004752, allocations: 99.73 kB / 0.8799 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.00508, allocations: 466.5 kB / 0.8803 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005081, allocations: 1.094 kB / 0.8803 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.92e-07/0.005082, allocations: 0 / 0.8803 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.005086, allocations: 0 / 0.8803 GB, free: 2.668 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006284/0.005714, allocations: 0.5363 MB / 0.8808 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.005749, allocations: 12.75 kB / 0.8808 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.005796, allocations: 66.72 kB / 0.8809 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.005991, allocations: 70.34 kB / 0.881 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.006222, allocations: 221.3 kB / 0.8812 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.006255, allocations: 29.03 kB / 0.8812 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.006284, allocations: 32.38 kB / 0.8812 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.006697, allocations: 331.8 kB / 0.8816 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.006707, allocations: 4.125 kB / 0.8816 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.00673, allocations: 20.11 kB / 0.8816 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006738, allocations: 4 kB / 0.8816 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.00707, allocations: 248.3 kB / 0.8818 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.007919, allocations: 0.8227 MB / 0.8826 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.008286, allocations: 244.7 kB / 0.8829 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.008427, allocations: 108.8 kB / 0.883 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.008442, allocations: 6.75 kB / 0.883 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.008668, allocations: 176 kB / 0.8831 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.00867, allocations: 0 / 0.8831 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32): time 0.0004847/0.009155, allocations: 365.9 kB / 0.8835 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.009185, allocations: 67.39 kB / 0.8836 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.009307, allocations: 203.4 kB / 0.8838 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.009333, allocations: 41.69 kB / 0.8838 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.009409, allocations: 160.7 kB / 0.8839 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.009449, allocations: 75.39 kB / 0.884 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.009525, allocations: 90.17 kB / 0.8841 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.009603, allocations: 334.8 kB / 0.8844 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.009765, allocations: 138.6 kB / 0.8846 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.009942, allocations: 191.7 kB / 0.8847 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.01021, allocations: 258.7 kB / 0.885 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01021, allocations: 3.938 kB / 0.885 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004085/0.01062, allocations: 412.7 kB / 0.8854 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.01065, allocations: 37.69 kB / 0.8854 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01065, allocations: 0 / 0.8854 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.01066, allocations: 4 kB / 0.8854 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01077, allocations: 43.91 kB / 0.8855 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01078, allocations: 3.938 kB / 0.8855 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.0109, allocations: 55.88 kB / 0.8855 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01091, allocations: 16 kB / 0.8855 GB, free: 13.04 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001105/0.01102, allocations: 177.7 kB / 0.8857 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.01105, allocations: 31.86 kB / 0.8857 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.01109, allocations: 30.64 kB / 0.8858 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01109, allocations: 4 kB / 0.8858 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01109, allocations: 0 / 0.8858 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.0111, allocations: 4 kB / 0.8858 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.01195, allocations: 0.67 MB / 0.8864 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01196, allocations: 4 kB / 0.8864 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.01202, allocations: 31.91 kB / 0.8865 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01202, allocations: 4 kB / 0.8865 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01203, allocations: 4 kB / 0.8865 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01204, allocations: 4 kB / 0.8865 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01204, allocations: 0 / 0.8865 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.01236, allocations: 381.6 kB / 0.8868 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01237, allocations: 19.8 kB / 0.8869 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.0124, allocations: 8 kB / 0.8869 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.0125, allocations: 31.95 kB / 0.8869 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.01258, allocations: 47.81 kB / 0.8869 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.01259, allocations: 15.94 kB / 0.887 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.01265, allocations: 130.3 kB / 0.8871 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 0.8871 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000197/0.01285, allocations: 71.78 kB / 0.8871 GB, free: 11.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0004994/0.01335, allocations: 0.9292 MB / 0.8881 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.01372, allocations: 348.6 kB / 0.8884 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01372, allocations: 0 / 0.8884 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.01387, allocations: 115.9 kB / 0.8885 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.0141, allocations: 45.58 kB / 0.8885 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.0164, allocations: 2.781 MB / 0.8913 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.682e-05/0.01649, allocations: 150.8 kB / 0.8914 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.01656, allocations: 30.28 kB / 0.8914 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01667, allocations: 80.47 kB / 0.8915 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.01667, allocations: 0 / 0.8915 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.03624, allocations: 6.384 MB / 0.8977 GB, free: 460 kB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.553, allocations: 9.031 kB / 0.8977 GB, free: 456 kB / 0.8073 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 11.298132615163922]