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.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 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.001466/0.001466, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.492/1.492, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.715/1.715, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.002325/0.002325, allocations: 75.08 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2987, allocations: 114.5 MB / 0.7834 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.005634/0.3044, allocations: 2.091 MB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005039/0.3095, allocations: 2.477 MB / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.3098, allocations: 0 / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.3119, allocations: 0.5019 MB / 0.7883 GB, free: 8.492 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.0004349/0.3123, allocations: 111.4 kB / 0.7884 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.3132, allocations: 217.7 kB / 0.7886 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.3137, allocations: 350.4 kB / 0.789 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.314, allocations: 64.72 kB / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.3142, allocations: 119.4 kB / 0.7892 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.3145, allocations: 139.2 kB / 0.7893 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.3145, allocations: 8 kB / 0.7893 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.3148, allocations: 55.97 kB / 0.7894 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.315, allocations: 127.5 kB / 0.7895 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.3153, allocations: 218.4 kB / 0.7897 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.3162, allocations: 0.6734 MB / 0.7903 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.65e-05/0.3163, allocations: 4 kB / 0.7903 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.459e-06/0.3163, allocations: 4 kB / 0.7903 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.3163, allocations: 0 / 0.7903 GB, free: 6.426 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.001791/0.3181, allocations: 0.8641 MB / 0.7912 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/0.3182, allocations: 8.031 kB / 0.7912 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3184, allocations: 72.09 kB / 0.7913 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.3191, allocations: 436 kB / 0.7917 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3191, allocations: 11.92 kB / 0.7917 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3192, allocations: 4 kB / 0.7917 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3195, allocations: 104.2 kB / 0.7918 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3195, allocations: 0 / 0.7918 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.3195, allocations: 0 / 0.7918 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3195, allocations: 0 / 0.7918 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.3197, allocations: 47.91 kB / 0.7918 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.3207, allocations: 0.5161 MB / 0.7923 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.3212, allocations: 102.7 kB / 0.7924 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.3213, allocations: 36.83 kB / 0.7925 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3214, allocations: 0 / 0.7925 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3216, allocations: 91.36 kB / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.3216, allocations: 0 / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006112/0.3222, allocations: 196.7 kB / 0.7928 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.3224, allocations: 110.8 kB / 0.7929 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.3239, allocations: 0.8834 MB / 0.7937 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3239, allocations: 25.7 kB / 0.7937 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.3243, allocations: 300.1 kB / 0.794 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3243, allocations: 19.66 kB / 0.7941 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.3244, allocations: 33.7 kB / 0.7941 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3246, allocations: 310 kB / 0.7944 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3247, allocations: 23.98 kB / 0.7944 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3249, allocations: 76.27 kB / 0.7945 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3251, allocations: 69.64 kB / 0.7945 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3251, allocations: 4 kB / 0.7945 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000424/0.3255, allocations: 156.9 kB / 0.7947 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3255, allocations: 8.938 kB / 0.7947 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3255, allocations: 3.938 kB / 0.7947 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3256, allocations: 4.125 kB / 0.7947 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3257, allocations: 16 kB / 0.7947 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3257, allocations: 7.875 kB / 0.7947 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3259, allocations: 11.89 kB / 0.7947 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3259, allocations: 4 kB / 0.7947 GB, free: 1.641 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.0004267/0.3264, allocations: 319.8 kB / 0.7951 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.3265, allocations: 63.25 kB / 0.7951 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.3266, allocations: 73.98 kB / 0.7952 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3266, allocations: 0 / 0.7952 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3267, allocations: 7.938 kB / 0.7952 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3267, allocations: 0 / 0.7952 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.3272, allocations: 393.3 kB / 0.7956 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3272, allocations: 0 / 0.7956 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.3273, allocations: 7.938 kB / 0.7956 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3273, allocations: 0 / 0.7956 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3273, allocations: 8 kB / 0.7956 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3274, allocations: 0 / 0.7956 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3274, allocations: 3.938 kB / 0.7956 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.3278, allocations: 188.3 kB / 0.7958 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.328, allocations: 140.2 kB / 0.7959 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.3281, allocations: 4 kB / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3282, allocations: 4 kB / 0.7959 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.3283, allocations: 23.95 kB / 0.7959 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3284, allocations: 3.984 kB / 0.7959 GB, free: 340 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001092/0.3295, allocations: 0.6551 MB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3295, allocations: 0 / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004642/0.3299, allocations: 60 kB / 0.7966 GB, free: 15.62 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.001395/0.3313, allocations: 426 kB / 0.797 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3317, allocations: 75.95 kB / 0.7971 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3317, allocations: 4.062 kB / 0.7971 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3318, allocations: 39.92 kB / 0.7972 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.3327, allocations: 139.1 kB / 0.7973 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3349, allocations: 1.108 MB / 0.7984 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/0.3358, allocations: 0.9782 MB / 0.7993 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.336, allocations: 38.22 kB / 0.7994 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.3361, allocations: 31.42 kB / 0.7994 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3361, allocations: 0 / 0.7994 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.01562/0.3517, allocations: 5.678 MB / 0.8049 GB, free: 7.336 MB / 0.6231 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)