Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005651/0.0005651, allocations: 18.69 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2927, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002857/0.2956, allocations: 1.729 MB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.2985, allocations: 2.106 MB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2987, allocations: 3.938 kB / 0.791 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.3, allocations: 0.5141 MB / 0.7915 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.3003, allocations: 103.7 kB / 0.7916 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.301, allocations: 179.3 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3014, allocations: 293.2 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.3016, allocations: 60.73 kB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3018, allocations: 119.5 kB / 0.7922 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.302, allocations: 127.4 kB / 0.7923 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.302, allocations: 4 kB / 0.7923 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3022, allocations: 39.92 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3023, allocations: 119.6 kB / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3025, allocations: 125.4 kB / 0.7926 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.303, allocations: 0.5458 MB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.303, allocations: 0 / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.303, allocations: 0 / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.303, allocations: 0 / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001276/0.3043, allocations: 0.7982 MB / 0.7939 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3044, allocations: 11.97 kB / 0.7939 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.3044, allocations: 34.56 kB / 0.794 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.3045, allocations: 71.12 kB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3051, allocations: 395.6 kB / 0.7944 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3051, allocations: 4 kB / 0.7944 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3051, allocations: 11.98 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3053, allocations: 96.11 kB / 0.7945 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3054, allocations: 0 / 0.7945 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3054, allocations: 4 kB / 0.7945 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3054, allocations: 4 kB / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3055, allocations: 39.97 kB / 0.7946 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.3063, allocations: 0.5161 MB / 0.7951 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.3067, allocations: 106.6 kB / 0.7952 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3067, allocations: 0 / 0.7952 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.3069, allocations: 91.53 kB / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.307, allocations: 0 / 0.7953 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003958/0.3074, allocations: 192.7 kB / 0.7954 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.3074, allocations: 110.8 kB / 0.7956 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3086, allocations: 0.8717 MB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3086, allocations: 33.7 kB / 0.7964 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.3089, allocations: 300 kB / 0.7967 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3089, allocations: 23.8 kB / 0.7967 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.3089, allocations: 0 / 0.7967 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3091, allocations: 306 kB / 0.797 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.3092, allocations: 31.98 kB / 0.7971 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3093, allocations: 76.2 kB / 0.7971 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.875e-05/0.3094, allocations: 36.28 kB / 0.7972 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3094, allocations: 0 / 0.7972 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000257/0.3096, allocations: 164.8 kB / 0.7973 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3097, allocations: 11.94 kB / 0.7973 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3097, allocations: 0 / 0.7973 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3097, allocations: 7.984 kB / 0.7973 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.3098, allocations: 15.98 kB / 0.7974 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3098, allocations: 0 / 0.7974 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.3099, allocations: 11.94 kB / 0.7974 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.31, allocations: 4.031 kB / 0.7974 GB, free: 1.172 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003289/0.3103, allocations: 317.7 kB / 0.7977 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.3104, allocations: 67.16 kB / 0.7977 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3105, allocations: 77.94 kB / 0.7978 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3105, allocations: 192 / 0.7978 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3105, allocations: 3.953 kB / 0.7978 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3105, allocations: 7.922 kB / 0.7978 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3109, allocations: 377.5 kB / 0.7982 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3109, allocations: 0 / 0.7982 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.311, allocations: 8 kB / 0.7982 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.311, allocations: 4 kB / 0.7982 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.311, allocations: 3.984 kB / 0.7982 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.311, allocations: 0 / 0.7982 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.311, allocations: 0 / 0.7982 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3113, allocations: 196.2 kB / 0.7984 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3114, allocations: 132.4 kB / 0.7985 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.3115, allocations: 0 / 0.7985 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3116, allocations: 11.98 kB / 0.7985 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3117, allocations: 15.92 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3117, allocations: 8 kB / 0.7986 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007789/0.3125, allocations: 0.6551 MB / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3125, allocations: 0 / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003119/0.3128, allocations: 60 kB / 0.7993 GB, free: 15.16 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/0.3147, allocations: 1.054 MB / 0.8003 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3149, allocations: 75.88 kB / 0.8004 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3149, allocations: 0 / 0.8004 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.315, allocations: 35.98 kB / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.3157, allocations: 142 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/0.3207, allocations: 3.648 MB / 0.8041 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.3215, allocations: 0.9862 MB / 0.805 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.3217, allocations: 42.56 kB / 0.8051 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.322, allocations: 175.4 kB / 0.8053 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of SimCode: time 1.833e-06/0.322, allocations: 4 kB / 0.8053 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.3503, allocations: 11.58 MB / 0.8166 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.3507, allocations: 250.2 kB / 0.8168 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.493, allocations: 2.953 kB / 0.8168 GB, free: 13.54 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) Environment - environmentSimulation: