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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008018/0.0008017, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009648/0.0009649, allocations: 172.7 kB / 15.95 MB, free: 208 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.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.572/1.572, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004979/0.000498, allocations: 20.94 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002744/0.2251, allocations: 1.767 MB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.2281, allocations: 2.238 MB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2283, allocations: 4 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.2296, allocations: 494.3 kB / 0.7917 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.2299, allocations: 87.58 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.2305, allocations: 178.8 kB / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.2308, allocations: 325.7 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.231, allocations: 68.72 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2311, allocations: 115.4 kB / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2313, allocations: 135.3 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.2313, allocations: 4 kB / 0.7926 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2315, allocations: 47.95 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.2316, allocations: 115.6 kB / 0.7927 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.2317, allocations: 129.3 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.2321, allocations: 0.5378 MB / 0.7934 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2322, allocations: 0 / 0.7934 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2322, allocations: 3.938 kB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2322, allocations: 4 kB / 0.7934 GB, free: 5.703 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.0009845/0.2332, allocations: 0.8021 MB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2332, allocations: 8.031 kB / 0.7942 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.2333, allocations: 67.2 kB / 0.7942 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.2337, allocations: 391.6 kB / 0.7946 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2337, allocations: 11.94 kB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.2338, allocations: 7.984 kB / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.234, allocations: 100.2 kB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.234, allocations: 0 / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.234, allocations: 4 kB / 0.7947 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.234, allocations: 0 / 0.7947 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2341, allocations: 43.92 kB / 0.7948 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.2348, allocations: 0.5045 MB / 0.7952 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.2351, allocations: 106.7 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.2352, allocations: 32.84 kB / 0.7954 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2352, allocations: 0 / 0.7954 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2354, allocations: 95.25 kB / 0.7955 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2354, allocations: 4 kB / 0.7955 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003516/0.2358, allocations: 189 kB / 0.7957 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.2358, allocations: 110.8 kB / 0.7958 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/0.2367, allocations: 0.8756 MB / 0.7966 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2368, allocations: 29.7 kB / 0.7966 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.237, allocations: 307.9 kB / 0.7969 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2371, allocations: 15.75 kB / 0.797 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.2371, allocations: 4 kB / 0.797 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.2372, allocations: 314 kB / 0.7973 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.2372, allocations: 27.98 kB / 0.7973 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/0.2373, allocations: 68.28 kB / 0.7973 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.2374, allocations: 40.23 kB / 0.7974 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2374, allocations: 3.938 kB / 0.7974 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002332/0.2377, allocations: 172.8 kB / 0.7976 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2377, allocations: 4 kB / 0.7976 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2377, allocations: 3.984 kB / 0.7976 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2377, allocations: 3.953 kB / 0.7976 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.2378, allocations: 15.94 kB / 0.7976 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2378, allocations: 0 / 0.7976 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2379, allocations: 11.98 kB / 0.7976 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2379, allocations: 0 / 0.7976 GB, free: 1.109 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.0002889/0.2382, allocations: 317.7 kB / 0.7979 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.2383, allocations: 67.16 kB / 0.798 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2384, allocations: 77.98 kB / 0.798 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2384, allocations: 0 / 0.798 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2384, allocations: 3.953 kB / 0.798 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2384, allocations: 4 kB / 0.798 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.2388, allocations: 381.4 kB / 0.7984 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2388, allocations: 0 / 0.7984 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.2388, allocations: 11.98 kB / 0.7984 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.2388, allocations: 0 / 0.7984 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2388, allocations: 0 / 0.7984 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2389, allocations: 4 kB / 0.7984 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2389, allocations: 4 kB / 0.7984 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.2391, allocations: 196.2 kB / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2392, allocations: 136.3 kB / 0.7987 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.2393, allocations: 4 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2394, allocations: 7.984 kB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2395, allocations: 4 kB / 0.7988 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2395, allocations: 16.03 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000673/0.2402, allocations: 0.6512 MB / 0.7994 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2402, allocations: 3.938 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002721/0.2405, allocations: 63.91 kB / 0.7995 GB, free: 15.08 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.0009488/0.2414, allocations: 423.6 kB / 0.7999 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2416, allocations: 71.89 kB / 0.7999 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2416, allocations: 8.062 kB / 0.8 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.2417, allocations: 31.98 kB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.2423, allocations: 146.1 kB / 0.8001 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.2437, allocations: 1.165 MB / 0.8013 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.2442, allocations: 0.9785 MB / 0.8022 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.2444, allocations: 38.58 kB / 0.8023 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.2444, allocations: 23.44 kB / 0.8023 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2444, allocations: 0 / 0.8023 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of Templates: time 0.009/0.2534, allocations: 5.274 MB / 0.8074 GB, free: 7.156 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) Environment - environmentSimulation: