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.00175/0.00175, allocations: 101.8 kB / 16.36 MB, free: 6.301 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.00184/0.00184, allocations: 190.8 kB / 17.29 MB, free: 5.875 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.851/1.851, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001462/0.001462, allocations: 67.91 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2705, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004207/0.2747, allocations: 2.105 MB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4382/0.7129, allocations: 2.468 MB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.7131, allocations: 0 / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.7144, allocations: 0.4974 MB / 0.7898 GB, free: 46.58 MB / 0.6544 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.0002608/0.7147, allocations: 115 kB / 0.7899 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.7152, allocations: 203.6 kB / 0.7901 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.7156, allocations: 361.9 kB / 0.7904 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.7158, allocations: 71.23 kB / 0.7905 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.7159, allocations: 119.9 kB / 0.7906 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.7161, allocations: 143.5 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.7161, allocations: 7.875 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.7163, allocations: 62.12 kB / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.7164, allocations: 126.1 kB / 0.7909 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.7166, allocations: 220.5 kB / 0.7911 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.7171, allocations: 0.6793 MB / 0.7918 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7171, allocations: 3.594 kB / 0.7918 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7171, allocations: 0 / 0.7918 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7172, allocations: 0 / 0.7918 GB, free: 46.24 MB / 0.6544 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.0009687/0.7181, allocations: 0.873 MB / 0.7926 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.7182, allocations: 9.031 kB / 0.7926 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.7183, allocations: 69.42 kB / 0.7927 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.7186, allocations: 427.3 kB / 0.7931 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.7187, allocations: 13.47 kB / 0.7931 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.7187, allocations: 3.5 kB / 0.7931 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.7189, allocations: 99.55 kB / 0.7932 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.7189, allocations: 0 / 0.7932 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.7189, allocations: 3.375 kB / 0.7932 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.7189, allocations: 0 / 0.7932 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.719, allocations: 39.17 kB / 0.7933 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.7196, allocations: 0.5204 MB / 0.7938 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.72, allocations: 104.1 kB / 0.7939 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.72, allocations: 32.77 kB / 0.7939 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.7201, allocations: 4.156 kB / 0.7939 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.7202, allocations: 82.47 kB / 0.794 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.7203, allocations: 7.062 kB / 0.794 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003449/0.7206, allocations: 189.4 kB / 0.7942 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.7207, allocations: 109.9 kB / 0.7943 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.7214, allocations: 0.8864 MB / 0.7951 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.7215, allocations: 29.2 kB / 0.7952 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.7217, allocations: 300.7 kB / 0.7955 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.7217, allocations: 18 kB / 0.7955 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.7218, allocations: 30.3 kB / 0.7955 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.7218, allocations: 315.3 kB / 0.7958 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.7219, allocations: 26.89 kB / 0.7958 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.722, allocations: 79.77 kB / 0.7959 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.7221, allocations: 67.03 kB / 0.796 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7221, allocations: 3.469 kB / 0.796 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002208/0.7223, allocations: 165.8 kB / 0.7961 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7224, allocations: 3.438 kB / 0.7961 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.7224, allocations: 2.344 kB / 0.7961 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7224, allocations: 4.75 kB / 0.7961 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.7225, allocations: 13.02 kB / 0.7962 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7225, allocations: 3.938 kB / 0.7962 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.7226, allocations: 16.39 kB / 0.7962 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.7226, allocations: 7.062 kB / 0.7962 GB, free: 43.93 MB / 0.6544 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.0002317/0.7229, allocations: 318.9 kB / 0.7965 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.7229, allocations: 62.44 kB / 0.7965 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.723, allocations: 75.31 kB / 0.7966 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.723, allocations: 5.594 kB / 0.7966 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.723, allocations: 6 kB / 0.7966 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7231, allocations: 3.281 kB / 0.7966 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.7233, allocations: 385.1 kB / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7234, allocations: 0 / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.7234, allocations: 3.406 kB / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7234, allocations: 3.25 kB / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.7234, allocations: 3.422 kB / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7234, allocations: 0.5 kB / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7234, allocations: 3.938 kB / 0.797 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.7237, allocations: 193 kB / 0.7972 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.7238, allocations: 139 kB / 0.7973 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.7238, allocations: 0.875 kB / 0.7973 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.724, allocations: 8.703 kB / 0.7973 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.724, allocations: 14.42 kB / 0.7974 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.724, allocations: 7.062 kB / 0.7974 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00059/0.7246, allocations: 0.6571 MB / 0.798 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7246, allocations: 0 / 0.798 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002758/0.7249, allocations: 60.69 kB / 0.7981 GB, free: 43.25 MB / 0.6544 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.0009908/0.7259, allocations: 428.1 kB / 0.7985 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.7262, allocations: 72.52 kB / 0.7985 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7262, allocations: 0 / 0.7985 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.7263, allocations: 38.81 kB / 0.7986 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.727, allocations: 144.5 kB / 0.7987 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.7286, allocations: 1.142 MB / 0.7998 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.729, allocations: 0.9749 MB / 0.8008 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.7291, allocations: 23.11 kB / 0.8008 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of SimCode: time 5e-07/0.7291, allocations: 1.469 kB / 0.8008 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.01384/0.7429, allocations: 6.695 MB / 0.8073 GB, free: 41.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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)