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.00113/0.001131, allocations: 99.28 kB / 16.27 MB, free: 6 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.001117/0.001118, allocations: 187 kB / 17.2 MB, free: 5.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.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.969/1.969, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001434/0.001435, allocations: 67.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004416/0.2613, allocations: 2.089 MB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4451/0.7065, allocations: 2.472 MB / 0.7885 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.7067, allocations: 3.844 kB / 0.7885 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.7082, allocations: 0.5045 MB / 0.789 GB, free: 45.75 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.0002874/0.7085, allocations: 113.5 kB / 0.7891 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.7091, allocations: 204.5 kB / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.7094, allocations: 348.9 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.7096, allocations: 64.83 kB / 0.7897 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.7097, allocations: 122.6 kB / 0.7898 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.7099, allocations: 138.1 kB / 0.7899 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.7099, allocations: 9.5 kB / 0.79 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.7101, allocations: 70.47 kB / 0.79 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.7102, allocations: 123.8 kB / 0.7901 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.7104, allocations: 218.9 kB / 0.7903 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.7109, allocations: 0.6597 MB / 0.791 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7109, allocations: 0 / 0.791 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7109, allocations: 4.125 kB / 0.791 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.7109, allocations: 0 / 0.791 GB, free: 45.43 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.0009766/0.7119, allocations: 0.8781 MB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.712, allocations: 9.531 kB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.712, allocations: 66.53 kB / 0.7919 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.7124, allocations: 425.1 kB / 0.7923 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.7125, allocations: 10.06 kB / 0.7923 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7125, allocations: 3.438 kB / 0.7923 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.7127, allocations: 103.3 kB / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7127, allocations: 0 / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.7127, allocations: 0.5625 kB / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7127, allocations: 1.875 kB / 0.7924 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.7128, allocations: 49.05 kB / 0.7925 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.7135, allocations: 0.5177 MB / 0.793 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.714, allocations: 106.2 kB / 0.7931 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.7141, allocations: 38.05 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.7141, allocations: 3.172 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.7143, allocations: 88.25 kB / 0.7932 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.7143, allocations: 0 / 0.7932 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003689/0.7147, allocations: 195.6 kB / 0.7934 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.7147, allocations: 105.9 kB / 0.7935 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008201/0.7156, allocations: 0.8863 MB / 0.7944 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7156, allocations: 32.52 kB / 0.7944 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.7158, allocations: 295.5 kB / 0.7947 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.7158, allocations: 20.8 kB / 0.7947 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.7159, allocations: 23.95 kB / 0.7947 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.7159, allocations: 314.8 kB / 0.795 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.716, allocations: 26.3 kB / 0.7951 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.7161, allocations: 83.3 kB / 0.7951 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.7162, allocations: 72.84 kB / 0.7952 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7162, allocations: 0 / 0.7952 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002166/0.7165, allocations: 160.7 kB / 0.7954 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7165, allocations: 6.844 kB / 0.7954 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7165, allocations: 0 / 0.7954 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.7165, allocations: 0 / 0.7954 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.7166, allocations: 20.2 kB / 0.7954 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7166, allocations: 3.938 kB / 0.7954 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.7167, allocations: 15.56 kB / 0.7954 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7167, allocations: 6.812 kB / 0.7954 GB, free: 43.12 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.0002221/0.717, allocations: 315.7 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.717, allocations: 62.92 kB / 0.7958 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.376e-05/0.7171, allocations: 73.84 kB / 0.7958 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.7171, allocations: 4.344 kB / 0.7958 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7171, allocations: 3.938 kB / 0.7958 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7172, allocations: 0 / 0.7958 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.7175, allocations: 388 kB / 0.7962 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7175, allocations: 2.062 kB / 0.7962 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.7175, allocations: 15.03 kB / 0.7962 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7175, allocations: 0.7188 kB / 0.7962 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.7175, allocations: 2.766 kB / 0.7962 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7176, allocations: 4.031 kB / 0.7962 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7176, allocations: 8.844 kB / 0.7963 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.7178, allocations: 185.7 kB / 0.7964 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.7179, allocations: 132.9 kB / 0.7966 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.7179, allocations: 6.875 kB / 0.7966 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.7181, allocations: 6.656 kB / 0.7966 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.7181, allocations: 13.73 kB / 0.7966 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.7181, allocations: 7.469 kB / 0.7966 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005876/0.7187, allocations: 0.6535 MB / 0.7972 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7187, allocations: 0 / 0.7972 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002881/0.719, allocations: 59.59 kB / 0.7973 GB, free: 42.43 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.0009876/0.72, allocations: 426.2 kB / 0.7977 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.7203, allocations: 75.41 kB / 0.7978 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7203, allocations: 0 / 0.7978 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.7204, allocations: 45.98 kB / 0.7978 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.721, allocations: 145.1 kB / 0.7979 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.7223, allocations: 1.144 MB / 0.7991 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.7227, allocations: 0.9733 MB / 0.8 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.7228, allocations: 27.61 kB / 0.8 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7228, allocations: 3.969 kB / 0.8 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.0139/0.7367, allocations: 6.693 MB / 0.8066 GB, free: 40.63 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)