Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.006167/0.006167, allocations: 100.5 kB / 15.73 MB, free: 6.043 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.001283/0.001283, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001481/0.001481, allocations: 73.77 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2049, allocations: 104.7 MB / 0.8281 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003652/0.2086, allocations: 2.112 MB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.2119, allocations: 2.485 MB / 0.8326 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.2121, allocations: 4 kB / 0.8326 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.2134, allocations: 0.5017 MB / 0.8331 GB, free: 11.03 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.0003317/0.2138, allocations: 107.4 kB / 0.8332 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.2144, allocations: 218.2 kB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.2149, allocations: 350.4 kB / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2151, allocations: 68.73 kB / 0.8338 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2152, allocations: 123.4 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2154, allocations: 139.2 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.2155, allocations: 8 kB / 0.834 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.2156, allocations: 67.89 kB / 0.8341 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2158, allocations: 123.5 kB / 0.8342 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.216, allocations: 218.4 kB / 0.8344 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.2167, allocations: 0.6773 MB / 0.8351 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2167, allocations: 4 kB / 0.8351 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2167, allocations: 0 / 0.8351 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2167, allocations: 0 / 0.8351 GB, free: 8.945 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.001212/0.218, allocations: 0.8704 MB / 0.8359 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.218, allocations: 15.97 kB / 0.836 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.2181, allocations: 64.09 kB / 0.836 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.2186, allocations: 436.1 kB / 0.8364 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2187, allocations: 384 / 0.8364 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.2187, allocations: 12.12 kB / 0.8364 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.2189, allocations: 96.17 kB / 0.8365 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.219, allocations: 7.922 kB / 0.8365 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.219, allocations: 4 kB / 0.8365 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.219, allocations: 0 / 0.8365 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2191, allocations: 39.98 kB / 0.8366 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.2198, allocations: 0.5122 MB / 0.8371 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.2202, allocations: 102.7 kB / 0.8372 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.2203, allocations: 32.84 kB / 0.8372 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2203, allocations: 4 kB / 0.8372 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.2205, allocations: 91.36 kB / 0.8373 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2205, allocations: 0 / 0.8373 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003956/0.2209, allocations: 192.7 kB / 0.8375 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.221, allocations: 102.8 kB / 0.8376 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/0.2219, allocations: 0.8834 MB / 0.8384 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.222, allocations: 33.7 kB / 0.8385 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.2222, allocations: 303.9 kB / 0.8388 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2223, allocations: 19.8 kB / 0.8388 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.2223, allocations: 25.72 kB / 0.8388 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2224, allocations: 317.9 kB / 0.8391 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.2225, allocations: 27.98 kB / 0.8391 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2227, allocations: 76.2 kB / 0.8392 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2228, allocations: 65.7 kB / 0.8393 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2228, allocations: 4 kB / 0.8393 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002678/0.2231, allocations: 172.8 kB / 0.8394 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2231, allocations: 4.188 kB / 0.8395 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2231, allocations: 0 / 0.8395 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2232, allocations: 11.92 kB / 0.8395 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.2233, allocations: 12 kB / 0.8395 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2233, allocations: 0 / 0.8395 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2234, allocations: 11.92 kB / 0.8395 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2234, allocations: 0 / 0.8395 GB, free: 4.164 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.0003078/0.2237, allocations: 321.7 kB / 0.8398 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.2238, allocations: 63.16 kB / 0.8399 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.2239, allocations: 85.95 kB / 0.8399 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2239, allocations: 3.938 kB / 0.8399 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2239, allocations: 0 / 0.8399 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2239, allocations: 3.938 kB / 0.8399 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.2243, allocations: 381.4 kB / 0.8403 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2243, allocations: 0 / 0.8403 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.2244, allocations: 11.98 kB / 0.8403 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2244, allocations: 0 / 0.8403 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2244, allocations: 4 kB / 0.8403 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2244, allocations: 4 kB / 0.8403 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2244, allocations: 0 / 0.8403 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.2247, allocations: 192.6 kB / 0.8405 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2248, allocations: 136.3 kB / 0.8406 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.2249, allocations: 0 / 0.8406 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.225, allocations: 8 kB / 0.8406 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.2251, allocations: 11.98 kB / 0.8407 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2251, allocations: 11.88 kB / 0.8407 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007444/0.2259, allocations: 0.659 MB / 0.8413 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2259, allocations: 0 / 0.8413 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002976/0.2262, allocations: 56 kB / 0.8414 GB, free: 2.141 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.0009694/0.2271, allocations: 426.5 kB / 0.8418 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2274, allocations: 63.97 kB / 0.8418 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2274, allocations: 4.062 kB / 0.8418 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.2275, allocations: 43.91 kB / 0.8419 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.2281, allocations: 146.7 kB / 0.842 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2297, allocations: 1.099 MB / 0.8431 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.2303, allocations: 0.9742 MB / 0.844 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.2304, allocations: 50.52 kB / 0.8441 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.2305, allocations: 23.44 kB / 0.8441 GB, free: 15.42 MB / 0.67 GB Notification: Performance of SimCode: time 4.41e-07/0.2305, allocations: 0 / 0.8441 GB, free: 15.42 MB / 0.67 GB Notification: Performance of Templates: time 0.01311/0.2436, allocations: 5.69 MB / 0.8497 GB, free: 9.867 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)