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.001051/0.001051, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.648/1.648, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001475/0.001476, allocations: 71.06 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 114.6 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003672/0.2271, allocations: 2.099 MB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.2301, allocations: 2.469 MB / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2303, allocations: 0 / 0.7881 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.2316, allocations: 0.5058 MB / 0.7886 GB, free: 8.141 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.2319, allocations: 103.5 kB / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.2325, allocations: 214.3 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.2329, allocations: 353.6 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.233, allocations: 68.7 kB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2332, allocations: 123.4 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2333, allocations: 139.2 kB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.2334, allocations: 8 kB / 0.7896 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2335, allocations: 67.95 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2337, allocations: 131.4 kB / 0.7898 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2339, allocations: 214.5 kB / 0.79 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.2345, allocations: 0.6773 MB / 0.7906 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2345, allocations: 4 kB / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2345, allocations: 0 / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2345, allocations: 4 kB / 0.7906 GB, free: 6.059 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.001071/0.2356, allocations: 0.8718 MB / 0.7915 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2356, allocations: 12.03 kB / 0.7915 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2357, allocations: 34.75 kB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.2358, allocations: 68.09 kB / 0.7916 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.2362, allocations: 432 kB / 0.792 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2362, allocations: 4 kB / 0.792 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2363, allocations: 7.984 kB / 0.792 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2365, allocations: 100.2 kB / 0.7921 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2365, allocations: 0 / 0.7921 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2365, allocations: 4 kB / 0.7921 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2365, allocations: 0 / 0.7921 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2366, allocations: 43.97 kB / 0.7922 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.2373, allocations: 0.52 MB / 0.7927 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.2377, allocations: 98.64 kB / 0.7928 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.2378, allocations: 36.84 kB / 0.7928 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2378, allocations: 0 / 0.7928 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.238, allocations: 95.39 kB / 0.7929 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.238, allocations: 0 / 0.7929 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004108/0.2384, allocations: 188.8 kB / 0.7931 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.2385, allocations: 114.8 kB / 0.7932 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.2394, allocations: 0.8834 MB / 0.794 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2395, allocations: 25.7 kB / 0.7941 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.2398, allocations: 296.1 kB / 0.7943 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2398, allocations: 23.66 kB / 0.7944 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.2399, allocations: 29.64 kB / 0.7944 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.24, allocations: 318 kB / 0.7947 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.2401, allocations: 23.98 kB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2402, allocations: 84.14 kB / 0.7948 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2403, allocations: 69.69 kB / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2404, allocations: 4 kB / 0.7949 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002605/0.2406, allocations: 156.9 kB / 0.795 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2406, allocations: 8 kB / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2407, allocations: 0 / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2407, allocations: 0 / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.2408, allocations: 19.92 kB / 0.795 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2408, allocations: 0 / 0.795 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2409, allocations: 7.906 kB / 0.7951 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2409, allocations: 8 kB / 0.7951 GB, free: 1.234 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002772/0.2412, allocations: 324.5 kB / 0.7954 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.2413, allocations: 63.25 kB / 0.7954 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2414, allocations: 70 kB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2414, allocations: 3.938 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2414, allocations: 4 kB / 0.7955 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2414, allocations: 3.984 kB / 0.7955 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.2418, allocations: 389.3 kB / 0.7959 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2418, allocations: 0 / 0.7959 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.2418, allocations: 4 kB / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2418, allocations: 4 kB / 0.7959 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2418, allocations: 11.98 kB / 0.7959 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2418, allocations: 3.938 kB / 0.7959 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2419, allocations: 0 / 0.7959 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.2421, allocations: 192.3 kB / 0.7961 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2422, allocations: 132.4 kB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.2423, allocations: 4 kB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2424, allocations: 15.92 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2425, allocations: 11.98 kB / 0.7962 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2425, allocations: 0 / 0.7962 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006624/0.2432, allocations: 0.6551 MB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2432, allocations: 0 / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002805/0.2435, allocations: 59.98 kB / 0.7969 GB, free: 15.21 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 (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.001468/0.2449, allocations: 1.061 MB / 0.798 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2452, allocations: 75.94 kB / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2452, allocations: 0 / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.2453, allocations: 39.92 kB / 0.7981 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.2459, allocations: 149.5 kB / 0.7982 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.251, allocations: 4.647 MB / 0.8028 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.2516, allocations: 0.9782 MB / 0.8037 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000177/0.2518, allocations: 38.59 kB / 0.8038 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.252, allocations: 179.9 kB / 0.8039 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.252, allocations: 3.938 kB / 0.8039 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2816, allocations: 12.32 MB / 0.816 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.62, allocations: 7.938 kB / 0.816 GB, free: 12.02 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/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)